Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split big submodule file into smaller files. Tried to manually get imports ↵ | Sebastian Thiel | 2010-11-18 | 1 | -1133/+0 |
| | | | | right, but its not yet tested | ||||
* | Added test for the recursive code path. | Sebastian Thiel | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | Added test for branch changes - it appears to work well, at least as far as ↵ | Sebastian Thiel | 2010-11-18 | 1 | -5/+14 |
| | | | | the restricted tests are concerned | ||||
* | Updated tests and implementation to verify functionality for handling ↵ | Sebastian Thiel | 2010-11-18 | 1 | -16/+64 |
| | | | | submodule removals, as well as url changes | ||||
* | first update test succeeds, so it verifies that existing repositories can be ↵ | Sebastian Thiel | 2010-11-18 | 1 | -62/+100 |
| | | | | moved later if the configuration changed, and actually it also verifies that the url-change is handled correctly (as we changed the url from the default to the local path) | ||||
* | Added test-setup which can test all aspects of the (smart) update method | Sebastian Thiel | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | RootModule.update: initial implementation of update method, which should be ↵ | Sebastian Thiel | 2010-11-17 | 1 | -19/+191 |
| | | | | able to handle submodule removals, additions, path changes and branch changes. All this still needs to be tested though | ||||
* | submodule: removed module_path method as it is implemented in the abspath ↵ | Sebastian Thiel | 2010-11-17 | 1 | -11/+5 |
| | | | | | | property alrdeady Improved submodule move tests | ||||
* | Inital implementation of Submodule.move including a very simple and ↵ | Sebastian Thiel | 2010-11-17 | 1 | -22/+123 |
| | | | | to-be-improved test | ||||
* | Added rest of submodule.add test code which should be pretty much 100% ↵ | Sebastian Thiel | 2010-11-17 | 1 | -4/+11 |
| | | | | coverage for it | ||||
* | The submodule's branch is now a branch instance, not a plain string anymore | Sebastian Thiel | 2010-11-16 | 1 | -18/+24 |
| | |||||
* | Added tests for all failure modes of submodule add ( except for one ), and ↵ | Sebastian Thiel | 2010-11-16 | 1 | -11/+29 |
| | | | | fixed a few issues on the way | ||||
* | Initial implementation of submodule.add without any tests. These are to come ↵ | Sebastian Thiel | 2010-11-16 | 1 | -4/+90 |
| | | | | next | ||||
* | Implemented deletion of submodules including proper tests | Sebastian Thiel | 2010-11-16 | 1 | -3/+123 |
| | |||||
* | implemented update to_last_revision option including test. Its now possible ↵ | Sebastian Thiel | 2010-11-16 | 1 | -6/+37 |
| | | | | to update submodules such as svn-externals | ||||
* | Improved efficiency of the submodule.update process, improved test | Sebastian Thiel | 2010-11-16 | 1 | -19/+27 |
| | |||||
* | Added a few utility methods and improved the test. Refs need an improvement ↵ | Sebastian Thiel | 2010-11-16 | 1 | -17/+43 |
| | | | | though to allow easy configuration of branch-specific settings | ||||
* | Submodule now only supports branches to be given as hint that will ↵ | Sebastian Thiel | 2010-11-16 | 1 | -48/+116 |
| | | | | svn-external like behaviour. Implemented first version of update, which works for now, but probably needs to see more features | ||||
* | Added partial implementation of update, but realized that using refs in ↵ | Sebastian Thiel | 2010-11-15 | 1 | -1/+59 |
| | | | | general may be contradicting if a tag is given there, as well as a commit sha of the submodule. Hence it should really be only a branch | ||||
* | Repo: added submodule query and iteration methods similar to the ones ↵ | Sebastian Thiel | 2010-11-15 | 1 | -3/+43 |
| | | | | provided for Remotes, including test | ||||
* | Objects: Constructor now manually checks and sets the input arguments to the ↵ | Sebastian Thiel | 2010-11-15 | 1 | -33/+189 |
| | | | | | | local cache - previously a procedural approach was used, which was less code, but slower too. Especially in case of CommitObjects unrolling the loop manually makes a difference. Submodule: Implemented query methods and did a bit of testing. More is to come, but the test works for now. As special addition, the submodule implementation uses the section name as submodule ID even though it seems to be just the path. This allows to make renames easier | ||||
* | Improved GitConfigurationParser to better deal with streams and the ↵ | Sebastian Thiel | 2010-11-15 | 1 | -24/+46 |
| | | | | corresponding locks. Submodule class now operates on parent_commits, the configuration is either streamed from the repository or written directly into a blob ( or file ) dependending on whether we have a working tree checkout or not which matches our parent_commit | ||||
* | submodule: Fleshed out interface, and a partial test which is not yet ↵ | Sebastian Thiel | 2010-11-15 | 1 | -3/+112 |
| | | | | usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository | ||||
* | Adjusted all files to (hopefully) deal with the fact that all objects now ↵ | Sebastian Thiel | 2010-06-25 | 1 | -0/+1 |
| | | | | | | | use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though | ||||
* | Implemented initial version of tree serialization which appears to work ↵ | Sebastian Thiel | 2010-06-14 | 1 | -0/+15 |
according to a simple test ( presort still needs implementation ) submodule: added stub to allow the tree to return something, its not implemented though |