Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated gitdb submodule, and added note about how the submodule package ↵ | Sebastian Thiel | 2010-11-19 | 2 | -1/+2 |
| | | | | manages its dependencies | ||||
* | Updated tutorial with a brief introduction to submodules | Sebastian Thiel | 2010-11-19 | 2 | -1/+41 |
| | | | | Changes now give a hint at the upcoming release as well | ||||
* | Changed name/id of gitdb submodule to something that doesn't look like a path | Sebastian Thiel | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'submodule' | Sebastian Thiel | 2010-11-18 | 29 | -186/+2093 |
|\ | |||||
| * | Merge branch 'refactor' into submodule | Sebastian Thiel | 2010-11-18 | 7 | -354/+409 |
| |\ | |||||
| | * | Fixed all imports, refactoring appears to be complete | Sebastian Thiel | 2010-11-18 | 6 | -14/+45 |
| | | | |||||
| | * | Split big submodule file into smaller files. Tried to manually get imports ↵ | Sebastian Thiel | 2010-11-18 | 4 | -345/+369 |
| |/ | | | | | | | right, but its not yet tested | ||||
| * | Added test for the recursive code path. | Sebastian Thiel | 2010-11-18 | 2 | -3/+12 |
| | | |||||
| * | Added test for branch changes - it appears to work well, at least as far as ↵ | Sebastian Thiel | 2010-11-18 | 2 | -12/+39 |
| | | | | | | | | the restricted tests are concerned | ||||
| * | Updated tests and implementation to verify functionality for handling ↵ | Sebastian Thiel | 2010-11-18 | 3 | -20/+111 |
| | | | | | | | | submodule removals, as well as url changes | ||||
| * | first update test succeeds, so it verifies that existing repositories can be ↵ | Sebastian Thiel | 2010-11-18 | 2 | -66/+135 |
| | | | | | | | | 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 | 3 | -4/+46 |
| | | |||||
| * | ORIG_HEAD handling is now implemented in the ref-class itself, instead of ↵ | Sebastian Thiel | 2010-11-18 | 4 | -17/+76 |
| | | | | | | | | | | | | being a special case of the commit method; includes tests util: Fixed iterable lists, which broke due to an incorrectly implemented __contains__ method | ||||
| * | commit: when creating a new commit and advancing the head, it will now write ↵ | Sebastian Thiel | 2010-11-18 | 3 | -1/+9 |
| | | | | | | | | the ORIG_HEAD reference as well | ||||
| * | RootModule.update: initial implementation of update method, which should be ↵ | Sebastian Thiel | 2010-11-17 | 3 | -23/+203 |
| | | | | | | | | able to handle submodule removals, additions, path changes and branch changes. All this still needs to be tested though | ||||
| * | repo: Added create_submodule method which fits into the tradition of ↵ | Sebastian Thiel | 2010-11-17 | 2 | -57/+19 |
| | | | | | | | | | | | | offering a create_* method for most important entities. Moved implementation of smart update method to the RootModule implementation, where it may do special things without requiring an interface for everything | ||||
| * | submodule: removed module_path method as it is implemented in the abspath ↵ | Sebastian Thiel | 2010-11-17 | 2 | -14/+26 |
| | | | | | | | | | | | | property alrdeady Improved submodule move tests | ||||
| * | Inital implementation of Submodule.move including a very simple and ↵ | Sebastian Thiel | 2010-11-17 | 5 | -54/+162 |
| | | | | | | | | to-be-improved test | ||||
| * | index: Sped up reading and writing of the index file by reducing the amount ↵ | Sebastian Thiel | 2010-11-17 | 2 | -38/+34 |
| | | | | | | | | of attribute lookups considerably | ||||
| * | Repo: scetched out submodule_update | Sebastian Thiel | 2010-11-17 | 1 | -1/+62 |
| | | |||||
| * | Added rest of submodule.add test code which should be pretty much 100% ↵ | Sebastian Thiel | 2010-11-17 | 2 | -8/+49 |
| | | | | | | | | coverage for it | ||||
| * | The submodule's branch is now a branch instance, not a plain string anymore | Sebastian Thiel | 2010-11-16 | 2 | -19/+25 |
| | | |||||
| * | Added tests for all failure modes of submodule add ( except for one ), and ↵ | Sebastian Thiel | 2010-11-16 | 2 | -11/+53 |
| | | | | | | | | fixed a few issues on the way | ||||
| * | Initial implementation of submodule.add without any tests. These are to come ↵ | Sebastian Thiel | 2010-11-16 | 3 | -14/+110 |
| | | | | | | | | next | ||||
| * | Implemented deletion of submodules including proper tests | Sebastian Thiel | 2010-11-16 | 2 | -3/+173 |
| | | |||||
| * | implemented update to_last_revision option including test. Its now possible ↵ | Sebastian Thiel | 2010-11-16 | 2 | -6/+60 |
| | | | | | | | | to update submodules such as svn-externals | ||||
| * | Improved efficiency of the submodule.update process, improved test | Sebastian Thiel | 2010-11-16 | 2 | -20/+35 |
| | | |||||
| * | remote: added methods to set and query the tracking branch status of normal ↵ | Sebastian Thiel | 2010-11-16 | 4 | -8/+103 |
| | | | | | | | | | | | | | | heads, including test. Config: SectionConstraint was updated with additional callable methods, the complete ConfigParser interface should be covered now Remote: refs methods is much more efficient now as it will set the search path to the directory containing the remote refs - previously it used the remotes/ base directory and pruned the search result | ||||
| * | Added a few utility methods and improved the test. Refs need an improvement ↵ | Sebastian Thiel | 2010-11-16 | 2 | -17/+64 |
| | | | | | | | | 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 | 4 | -69/+174 |
| | | | | | | | | 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 | 3 | -3/+65 |
| | | | | | | | | 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 | ||||
| * | Optimized test-decorators, by completely removing with_bare_rw_repo, which ↵ | Sebastian Thiel | 2010-11-15 | 9 | -51/+32 |
| | | | | | | | | was mainly copy-paste from with_rw_repo, what a shame | ||||
| * | Repo: added submodule query and iteration methods similar to the ones ↵ | Sebastian Thiel | 2010-11-15 | 6 | -9/+113 |
| | | | | | | | | provided for Remotes, including test | ||||
| * | Objects: Constructor now manually checks and sets the input arguments to the ↵ | Sebastian Thiel | 2010-11-15 | 5 | -52/+297 |
| | | | | | | | | | | | | 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 | 4 | -32/+60 |
| | | | | | | | | 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 | 5 | -33/+170 |
|/ | | | | 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 | ||||
* | tutorial: Fixed incorrect initialization code for bare repo, thank you, ↵ | Sebastian Thiel | 2010-11-10 | 1 | -1/+1 |
| | | | | Bryan Bishop | ||||
* | test_refs: fixed failing tests just by making it less strict. It is ↵ | Sebastian Thiel | 2010-11-06 | 2 | -2/+2 |
| | | | | dependent on the setup of the surrounding repository, hence the amount of ref-types found is actually variable, as long as they get more | ||||
* | index.reset: updated parameter docs, but most importantly, the method now ↵ | Sebastian Thiel | 2010-10-27 | 2 | -28/+72 |
| | | | | has better testing for the use of paths during reset. The IndexFile now implements this on its own, which also allows for something equivalent to git-reset --hard -- <paths>, which is not possible in the git command for some probably very good reason | ||||
* | Fixed bug that would cause the author's email to be a generic default one, ↵ | Sebastian Thiel | 2010-10-27 | 3 | -3/+12 |
| | | | | | | instead of the existing and valid. The rest of the ConfigParser handling is correct, as it reads all configuration files available to git see http://github.com/Byron/GitPython/issues#issue/1 | ||||
* | cmd: improved error handling and debug printing | Sebastian Thiel | 2010-10-27 | 4 | -9/+45 |
| | | | | head.reset: will now handle resets with paths much better, especially in the --mixed case, see http://github.com/Byron/GitPython/issues#issue/2 | ||||
* | docs: untracked_files is a property, but was used like a function, see ↵ | Sebastian Thiel | 2010-10-27 | 2 | -2/+2 |
| | | | | http://groups.google.com/group/git-python/browse_thread/thread/84ed1835e26a5296?hl=en | ||||
* | .gitignore will now ignore netbeans projects | Sebastian Thiel | 2010-10-25 | 2 | -1/+2 |
| | | | | Fixed test which used the --force flag on move, but there is only a short version (left) it appears | ||||
* | Adjusted regex to support whitespace - it was a little restrictive ↵ | Sebastian Thiel | 2010-10-15 | 2 | -3/+3 |
| | | | | | | previously, although there was absolutely no need for that. See http://byronimo.lighthouseapp.com/projects/51787/tickets/41-diff-regex-lib_git_diffpy-cannot-handle-paths-with-spaces | ||||
* | Merge branch 'unicode' | Sebastian Thiel | 2010-10-15 | 5 | -4/+59 |
|\ | |||||
| * | Added unicode handling for author names. They will now be properly encoded ↵ | Sebastian Thiel | 2010-10-15 | 3 | -2/+47 |
| | | | | | | | | into the byte stream, as well as decoded from it | ||||
| * | Added test to verify the actor type can handle and parse unicode if it is ↵ | Sebastian Thiel | 2010-10-15 | 3 | -2/+12 |
|/ | | | | | | passed in test_odb: added more information to the message output | ||||
* | Fixed bug in ↵ | Sebastian Thiel | 2010-10-15 | 2 | -3/+5 |
| | | | | | | http://byronimo.lighthouseapp.com/projects/51787/tickets/44-remoteref-fails-when-there-is-character-in-the-name using supplied patch ( which was manually applied ). Fixed slightly broken test for remote handling | ||||
* | replace old reference to Commit.sha with Commit.hexsha | Rick Copeland | 2010-09-08 | 1 | -1/+1 |
| | |||||
* | unicode handling in messages and trees was improved. Messages are now ↵ | Sebastian Thiel | 2010-08-13 | 3 | -1/+20 |
| | | | | written according to the encoding of the commit object, and decoded using that information as well. Trees will encode and decode their names with utf8 |