Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flattened test folder structure, didn't adjust any file content yet | Sebastian Thiel | 2010-11-21 | 1 | -488/+0 |
| | |||||
* | ORIG_HEAD handling is now implemented in the ref-class itself, instead of ↵ | Sebastian Thiel | 2010-11-18 | 1 | -0/+31 |
| | | | | | | being a special case of the commit method; includes tests util: Fixed iterable lists, which broke due to an incorrectly implemented __contains__ method | ||||
* | remote: added methods to set and query the tracking branch status of normal ↵ | Sebastian Thiel | 2010-11-16 | 1 | -2/+22 |
| | | | | | | | 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 | ||||
* | test_refs: fixed failing tests just by making it less strict. It is ↵ | Sebastian Thiel | 2010-11-06 | 1 | -1/+1 |
| | | | | dependent on the setup of the surrounding repository, hence the amount of ref-types found is actually variable, as long as they get more | ||||
* | cmd: improved error handling and debug printing | Sebastian Thiel | 2010-10-27 | 1 | -1/+10 |
| | | | | head.reset: will now handle resets with paths much better, especially in the --mixed case, see http://github.com/Byron/GitPython/issues#issue/2 | ||||
* | RevParse now generally works, but there are still some more specialized ↵ | Sebastian Thiel | 2010-07-06 | 1 | -2/+0 |
| | | | | tests missing | ||||
* | Initial version of the rev-parse routine, which doesn't work too bad, but ↵ | Sebastian Thiel | 2010-07-06 | 1 | -410/+414 |
| | | | | its still rather slow and many tests are not yet implemented | ||||
* | refs: a Reference can now be created by assigning a commit or object (for ↵ | Sebastian Thiel | 2010-05-26 | 1 | -0/+38 |
| | | | | convenience) | ||||
* | Handle filenames with embedded spaces when generating diffs | Rick Copeland | 2010-05-10 | 1 | -0/+1 |
| | |||||
* | repo: added test with some basic assertions for empty repositories these | Sebastian Thiel | 2010-05-10 | 1 | -0/+10 |
| | | | | | | | | repo.is_dirty: Will not fail on empty repo ( anymore ) index.entries: will just be empty if the repository is empty refs: added to_full_path method which can be used to create fully synthetic instances of Reference types, added a test for it Converted all touched files to spaces, which is why git reports so many changed files. Actually I was thinking every file would use spaces, but apparently not | ||||
* | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | 2010-03-04 | 1 | -361/+361 |
| | |||||
* | refs: Added is_valid method to SymbolicReference base class | Sebastian Thiel | 2009-12-15 | 1 | -0/+6 |
| | |||||
* | Reference: reading of commit data is now safer and handles non-existing ↵ | Sebastian Thiel | 2009-12-07 | 1 | -0/+4 |
| | | | | paths - previously it would run into a code-branch I forgot | ||||
* | SymbolicRefence base is now fully aware of pack files in all operations. | Sebastian Thiel | 2009-12-04 | 1 | -0/+39 |
| | | | | Ref(anytype) Iteration was improved such that automatic filtering now also works for SymbolicReferences ( which only return symbolic refs) | ||||
* | refs: Fixed incorrect retrieval of symbolic reference types - previously we ↵ | Sebastian Thiel | 2009-12-04 | 1 | -3/+11 |
| | | | | only really knew heads, now we know references as a common base. The adjustment make the ref system as flexible as it was originally meant to be | ||||
* | SymbolicReference creation now won't fail if the target already exists and ↵ | Sebastian Thiel | 2009-12-04 | 1 | -2/+6 |
| | | | | has the same content as the new reference | ||||
* | refs.rename: improved handling as it will only raise ( if not forced ) if ↵ | Sebastian Thiel | 2009-12-03 | 1 | -1/+4 |
| | | | | the destination contains different data. If it contains the same, the move will work as we can do what the user intended | ||||
* | refs: Implemented low-level (Symbolic)Reference renaming as some references ↵ | Sebastian Thiel | 2009-12-03 | 1 | -0/+24 |
| | | | | cannot be reamed using the git-branch command if they are not in refs/heads, that is in a non-standard refs folder | ||||
* | repo: renamed directories to more descriptive identifiers and made them ↵ | Sebastian Thiel | 2009-12-03 | 1 | -1/+1 |
| | | | | safer to use in case of bare repositories | ||||
* | SymbolicReference.delete: Now takes SymbolicReference instances as well, not ↵ | Sebastian Thiel | 2009-11-30 | 1 | -2/+3 |
| | | | | | | only paths diff.__str__: fixed incorrect message generation error | ||||
* | Generalized custom reference creation down to SymbolicReference level. ↵ | Sebastian Thiel | 2009-11-30 | 1 | -0/+14 |
| | | | | 'Reference' implementation now shares all the code from the SymbolicReference base. This implementation allows to create any reference you'd like without requireing git calls | ||||
* | ref: Added general method to create and delete any reference pointing to any ↵ | Sebastian Thiel | 2009-11-30 | 1 | -0/+17 |
| | | | | object. They are only constrained to be located in the refs/ directory | ||||
* | SymbolicReference is now the base for all references, allowing them to ↵ | Sebastian Thiel | 2009-11-26 | 1 | -8/+2 |
| | | | | | | appear litereally anywhere. A 'default' reference is nothing more than a detached symbolic reference. Added method iterate the packed refs file | ||||
* | SymbolicReferences can now be at any path within the repository, there is no ↵ | Sebastian Thiel | 2009-11-26 | 1 | -3/+27 |
| | | | | | | restriction anymore. Added a test to assure the git commands can handle it | ||||
* | helpers: fixed and improved test repo decorators to use the new ↵ | Sebastian Thiel | 2009-11-04 | 1 | -2/+2 |
| | | | | | | head.checkout functions for greater ease of use - they work exactly as expected now. Fixed failing test in remote tests by actually removing the line | ||||
* | head.checkout method added including test | Sebastian Thiel | 2009-11-04 | 1 | -1/+22 |
| | |||||
* | refs: iter_items now imlemented natively for additional performance. We did ↵ | Sebastian Thiel | 2009-11-03 | 1 | -9/+5 |
| | | | | not implement the crazy sorting feature found in git-for-each-ref though | ||||
* | Now using git-update-ref and git-symbolic-ref to update references with ↵ | Sebastian Thiel | 2009-11-03 | 1 | -4/+2 |
| | | | | reflog support. This should be manually implemented though for more performance, what it does is relatively easy | ||||
* | Added repo.refs for completeness (as remote.refs is there as well and quite ↵ | Sebastian Thiel | 2009-10-28 | 1 | -0/+6 |
| | | | | nice to use) | ||||
* | refs.SymoblicRef: implemented direcft setting of the symbolic references ↵ | Sebastian Thiel | 2009-10-26 | 1 | -0/+18 |
| | | | | commit, which possibly dereferences to the respective head | ||||
* | Refs can now set the reference they are pointing to in a controlled fashion ↵ | Sebastian Thiel | 2009-10-23 | 1 | -1/+17 |
| | | | | by writing their ref file directly | ||||
* | Added TagRefernce creation and deletion including tests | Sebastian Thiel | 2009-10-23 | 1 | -3/+40 |
| | | | | Added RemoteReference deletion and test | ||||
* | Implemented head methods: create, delete, rename, including tests | Sebastian Thiel | 2009-10-23 | 1 | -3/+32 |
| | |||||
* | refs: added create, delete and rename methods where appropriate. Tests are ↵ | Sebastian Thiel | 2009-10-23 | 1 | -0/+8 |
| | | | | marked, implementation is needed for most of them | ||||
* | SymbolicReferences can now change they references safely as I think and well ↵ | Sebastian Thiel | 2009-10-23 | 1 | -0/+26 |
| | | | | | | controlled, including test. Added commit method which will return the commit for detached symbolic refs or for normal symbolic refs which is quite convenient | ||||
* | Adjusted tests to deal with API changes | Sebastian Thiel | 2009-10-22 | 1 | -6/+6 |
| | |||||
* | Added SymbolicReference and HEAD type to better represent these special ↵ | Sebastian Thiel | 2009-10-22 | 1 | -0/+84 |
types of references and allow special handling Head.reset now is an instance method of HEAD type Concatenated all reference specific tests into test_refs started to fix tests breaking now because of changed interface |