Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Repo: Added comparison operators and hash operator including test | Sebastian Thiel | 2010-05-12 | 1 | -4/+8 |
| | | | | Cmd: AutoInterrupt handles boundary cases more gracefully as it can be that the os module suddenly becomes None if the interpreter is going down | ||||
* | index.add: added index path rewrite functionality, which allows to store a ↵ | Sebastian Thiel | 2010-05-10 | 1 | -0/+30 |
| | | | | | | | different path in the index than the actual one on disk ( from which the object will be created ) Fixed bug the way newlines were handled, which hopefully fixes occasional hangs as well. It works fine with git 1.7.1 Most of the changes are due to the tab-space conversion - its weird once more as I thought it was all in spaces before ... . | ||||
* | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | 2010-03-04 | 1 | -511/+511 |
| | |||||
* | index: added move method including test | Sebastian Thiel | 2010-02-19 | 1 | -2/+31 |
| | | | | test.helpers: temporary rw repository creators now set the working dir of the program, easing working with relative paths a lot | ||||
* | index: Checkout exception now contains information about the reason of the ↵ | Sebastian Thiel | 2009-12-07 | 1 | -0/+1 |
| | | | | failure as well, one per failed file | ||||
* | repo: renamed directories to more descriptive identifiers and made them ↵ | Sebastian Thiel | 2009-12-03 | 1 | -7/+7 |
| | | | | safer to use in case of bare repositories | ||||
* | index: Added BlobFilter utility class to make filtering of blobs from the ↵ | Sebastian Thiel | 2009-11-30 | 1 | -0/+5 |
| | | | | index easier | ||||
* | ItemTraversal: Predicate and prune functions now provide depth information, ↵ | Sebastian Thiel | 2009-11-27 | 1 | -2/+2 |
| | | | | allowing the callee to know more about its environment | ||||
* | tree: added traversal method, adjusted tests | Sebastian Thiel | 2009-11-26 | 1 | -3/+8 |
| | | | | Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\! | ||||
* | index.write_tree: fixed bug that would cause the written tree not to contain ↵ | Sebastian Thiel | 2009-11-25 | 1 | -1/+5 |
| | | | | any of our changes entries as it would in fact write a possibly cached tree stored in our extension data.It was solved by simply ignoring that extension data when writing the index for tree creation. A test was added for this as well | ||||
* | index.merge_tree function added including test. | Sebastian Thiel | 2009-11-24 | 1 | -1/+51 |
| | | | | index.write_tree may now use the missing_ok argument which writes trees faster and allows you to operate without objects to do a true index based merge | ||||
* | index.checkout: improved handling of errors as the thrown exception contains ↵ | Sebastian Thiel | 2009-11-23 | 1 | -4/+14 |
| | | | | | | exact information about the successfully checked out files as well as the failed ones Return value of the method is an iterator to all checked out files | ||||
* | index.checkout: Now parsing stderror in the end to determine which files ↵ | Sebastian Thiel | 2009-11-23 | 1 | -4/+20 |
| | | | | have not been updated as they where modified locally or did not exist. Test was improved to check for this new case. | ||||
* | index.checkout: Added progress function and made adjustments to test | Sebastian Thiel | 2009-11-22 | 1 | -30/+34 |
| | |||||
* | index.add: added progress function support and made sure progress is sent ↵ | Sebastian Thiel | 2009-11-20 | 1 | -7/+46 |
| | | | | | | just in time This adds a dependency to a git update index fix - and I hope it will be put in in time ( including windows version ) | ||||
* | index: Added IndexEntry.from_base method including test in conjunction with ↵ | Sebastian Thiel | 2009-11-18 | 1 | -1/+14 |
| | | | | | | symlinks. Added index.get_entries_key method to allow direct access to anyone willing to do so | ||||
* | Index tests adopted to windows - especially the symlink test needed ↵ | Sebastian Thiel | 2009-11-06 | 1 | -2/+10 |
| | | | | adjustment, but it works as expected even on systems that do not support symlinks | ||||
* | ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵ | Sebastian Thiel | 2009-11-05 | 1 | -3/+3 |
| | | | | binary files went crazy as well as binary writing | ||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 1 | -1/+1 |
| | | | | as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | ||||
* | put _make_file helper method into TestBase class | Sebastian Thiel | 2009-10-27 | 1 | -13/+3 |
| | | | | remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests | ||||
* | index.add: Finished implemenation including through tests | Sebastian Thiel | 2009-10-26 | 1 | -1/+80 |
| | | | | index.checkout: added simple method allowing to checkout files from the index, including simple test | ||||
* | added head kwarg to reset and commit method, allowing to automatically ↵ | Sebastian Thiel | 2009-10-26 | 1 | -8/+31 |
| | | | | change the head to the given commit, which makes the methods more versatile | ||||
* | index.commit: implemented initial version, but in fact some more changes are ↵ | Sebastian Thiel | 2009-10-24 | 1 | -0/+12 |
| | | | | required to have a nice API. Tests are not yet fully done either | ||||
* | index.remove implemented including throrough test | Sebastian Thiel | 2009-10-23 | 1 | -2/+62 |
| | |||||
* | Implemented index.reset method including test | Sebastian Thiel | 2009-10-23 | 1 | -1/+27 |
| | |||||
* | Added frame for IndexFile add/remove/commit methods and respective test markers | Sebastian Thiel | 2009-10-23 | 1 | -0/+13 |
| | |||||
* | Renamed Index to IndexFile, adjusted tests, it will only operate on physical ↵ | Sebastian Thiel | 2009-10-23 | 1 | -17/+13 |
| | | | | files, not on streams, as Indices are not streamed by any git command ( at least not in raw format ) | ||||
* | Adjusted tests to deal with API changes | Sebastian Thiel | 2009-10-22 | 1 | -2/+2 |
| | |||||
* | Index: Is now diffable and appears to properly implement diffing against ↵ | Sebastian Thiel | 2009-10-22 | 1 | -1/+34 |
| | | | | | | | other items as well as the working tree Diff.Diffable: added callback allowing superclasses to preprocess diff arguments Diff.Diff: added eq, ne and hash methods, string methods would be nice | ||||
* | default index writing now writes the index of the current repository in a ↵ | Sebastian Thiel | 2009-10-22 | 1 | -2/+8 |
| | | | | fashion comparable to the native implementation | ||||
* | Index now behaves more like the default index if no explicit stream is ↵ | Sebastian Thiel | 2009-10-22 | 1 | -1/+4 |
| | | | | given. It will lazily read its data on first access | ||||
* | Adjusted all remaining test suites to use the new TestBase class where ↵ | Sebastian Thiel | 2009-10-22 | 1 | -11/+7 |
| | | | | appropriate | ||||
* | Removed index test marker for custom commits as this boils down to a good ↵ | Sebastian Thiel | 2009-10-22 | 1 | -4/+2 |
| | | | | way to add files to the index/remove them and make commits which are possibly customized with custom parents | ||||
* | index writing now creates a sha on the content making it possible to write ↵ | Sebastian Thiel | 2009-10-22 | 1 | -1/+8 |
| | | | | valid indices after manually removing or altering entriesgst | ||||
* | Implemented merge/resolve handling , but realized that index writing is not ↵ | Sebastian Thiel | 2009-10-22 | 1 | -5/+10 |
| | | | | yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;) | ||||
* | index: Added write_tree method including test | Sebastian Thiel | 2009-10-21 | 1 | -0/+7 |
| | |||||
* | index.iter_blobs method added including tests ( which have been improved ↵ | Sebastian Thiel | 2009-10-21 | 1 | -4/+19 |
| | | | | generally for more coverage ) | ||||
* | Improved testing of index against trees, tests succeed with next commit | Sebastian Thiel | 2009-10-21 | 1 | -3/+15 |
| | |||||
* | Initial version of merge including tests for one-way, two-way and tree-way merge | Sebastian Thiel | 2009-10-21 | 1 | -0/+21 |
| | |||||
* | index writing added including simple test, improved docs of IndexEntry | Sebastian Thiel | 2009-10-21 | 1 | -2/+8 |
| | |||||
* | improved IndexEntry type and added test for parsing of the stage | Sebastian Thiel | 2009-10-20 | 1 | -5/+9 |
| | |||||
* | Improved tuple access of EntryIndex class including test, stage and type ↵ | Sebastian Thiel | 2009-10-20 | 1 | -0/+14 |
| | | | | access still needs to be decoded though | ||||
* | Added initial version of the index reading from file - IndexEntry interface ↵ | Sebastian Thiel | 2009-10-20 | 1 | -1/+3 |
| | | | | is to be improved though, writing needs to be implemented as well | ||||
* | Added frame for index implementation and testing | Sebastian Thiel | 2009-10-20 | 1 | -0/+17 |