Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | index: IndexLock added to provide some kind of critical section for index ↵ | Sebastian Thiel | 2009-12-10 | 1 | -1/+33 |
| | | | | based git operations in concurrent environments | ||||
* | index: TempFileMover now handles the case that the file to move does not ↵ | Sebastian Thiel | 2009-12-10 | 1 | -4/+11 |
| | | | | | | exist more gracefully Added BlockingLockFile which may be used to wait for the lock according to some criteria | ||||
* | index: Checkout exception now contains information about the reason of the ↵ | Sebastian Thiel | 2009-12-07 | 1 | -2/+10 |
| | | | | 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 | -2/+27 |
| | | | | index easier | ||||
* | SymbolicReferences can now be at any path within the repository, there is no ↵ | Sebastian Thiel | 2009-11-26 | 1 | -4/+2 |
| | | | | | | restriction anymore. Added a test to assure the git commands can handle it | ||||
* | index.write_tree: fixed bug that would cause the written tree not to contain ↵ | Sebastian Thiel | 2009-11-25 | 1 | -1/+19 |
| | | | | 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 | ||||
* | PushInfo: added summary field to help providing user readable information | Sebastian Thiel | 2009-11-24 | 1 | -1/+1 |
| | | | | Index.checkout: fixed bug in exception creator function | ||||
* | commit: added create_from_tree method to untie commit creation from actually ↵ | Sebastian Thiel | 2009-11-24 | 1 | -49/+4 |
| | | | | using the current index. This makes it more flexible. For convenience, the index.commit method is still available, it delgates all the work | ||||
* | index.merge_tree function added including test. | Sebastian Thiel | 2009-11-24 | 1 | -5/+50 |
| | | | | 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 | ||||
* | diff: fixed issue in diff implementation which would just drop null-shas ↵ | Sebastian Thiel | 2009-11-23 | 1 | -1/+1 |
| | | | | that always occour when dealing with working tree diffs ( for ovious reasons ). Also the implementation would previously leave empty blobs where no file actually existed | ||||
* | index.checkout: improved handling of errors as the thrown exception contains ↵ | Sebastian Thiel | 2009-11-23 | 1 | -20/+61 |
| | | | | | | 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: improved parsing of stderr to properly handle more unusual ↵ | Sebastian Thiel | 2009-11-23 | 1 | -2/+9 |
| | | | | messages - previously it would be more narrow and raise a GitCommandError in cases where it wasnt actually needed | ||||
* | index.checkout: Now parsing stderror in the end to determine which files ↵ | Sebastian Thiel | 2009-11-23 | 1 | -14/+69 |
| | | | | 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 | -73/+74 |
| | |||||
* | index: Path expansion routine is now iterator which assures more timely ↵ | Sebastian Thiel | 2009-11-21 | 1 | -16/+12 |
| | | | | processing - delays could have been possible previously as it would expand (possibly) large amounts of paths in advance | ||||
* | index.add: adjusted code to deal with update-index stdout 'bug' - now the ↵ | Sebastian Thiel | 2009-11-21 | 1 | -10/+14 |
| | | | | code does not rely on my own git patch anymore as it is unsure whether it will make it in there or when | ||||
* | index.add: added progress function support and made sure progress is sent ↵ | Sebastian Thiel | 2009-11-20 | 1 | -21/+121 |
| | | | | | | 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 | -2/+28 |
| | | | | | | symlinks. Added index.get_entries_key method to allow direct access to anyone willing to do so | ||||
* | ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵ | Sebastian Thiel | 2009-11-05 | 1 | -6/+12 |
| | | | | binary files went crazy as well as binary writing | ||||
* | Added utilities helping to create proper paths either with slashes or ↵ | Sebastian Thiel | 2009-11-05 | 1 | -3/+3 |
| | | | | | | | backslashes depending on the operating system fixed test_refs and test_trees Many more issues remain though, this is just a first backup commit | ||||
* | added all new files to reference.rst and corrected the worst mistakes. There ↵ | Sebastian Thiel | 2009-11-04 | 1 | -4/+5 |
| | | | | are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway. | ||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 1 | -2/+2 |
| | | | | as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | ||||
* | index.add: Finished implemenation including through tests | Sebastian Thiel | 2009-10-26 | 1 | -4/+142 |
| | | | | 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 | -10/+29 |
| | | | | 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 | -9/+35 |
| | | | | 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 | -21/+131 |
| | |||||
* | Implemented index.reset method including test | Sebastian Thiel | 2009-10-23 | 1 | -4/+16 |
| | |||||
* | IndexEntry is now based on a 'minimal' version that is suitable to be fed ↵ | Sebastian Thiel | 2009-10-23 | 1 | -52/+69 |
| | | | | into UpdateIndex. The Inode and device information is only needed to quickly compare the index against the working tree for changes, hence it should not be that dominant in the API either. More changes to come | ||||
* | Added frame for IndexFile add/remove/commit methods and respective test markers | Sebastian Thiel | 2009-10-23 | 1 | -4/+114 |
| | |||||
* | Added repo.index property including simple test, and additional ideas in the ↵ | Sebastian Thiel | 2009-10-23 | 1 | -2/+6 |
| | | | | TODO list | ||||
* | Renamed Index to IndexFile, adjusted tests, it will only operate on physical ↵ | Sebastian Thiel | 2009-10-23 | 1 | -101/+49 |
| | | | | files, not on streams, as Indices are not streamed by any git command ( at least not in raw format ) | ||||
* | Index: Is now diffable and appears to properly implement diffing against ↵ | Sebastian Thiel | 2009-10-22 | 1 | -4/+68 |
| | | | | | | | 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 | -6/+21 |
| | | | | 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 | -8/+21 |
| | | | | given. It will lazily read its data on first access | ||||
* | index writing now creates a sha on the content making it possible to write ↵ | Sebastian Thiel | 2009-10-22 | 1 | -3/+19 |
| | | | | 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 | -4/+74 |
| | | | | 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 | -12/+41 |
| | |||||
* | index.iter_blobs method added including tests ( which have been improved ↵ | Sebastian Thiel | 2009-10-21 | 1 | -8/+52 |
| | | | | generally for more coverage ) | ||||
* | tree.traverse: Added prune functionality - previously the predciate did ↵ | Sebastian Thiel | 2009-10-21 | 1 | -1/+5 |
| | | | | both, pruning and preventing to return items | ||||
* | Improved testing of index against trees, tests succeed with next commit | Sebastian Thiel | 2009-10-21 | 1 | -1/+1 |
| | |||||
* | Initial version of merge including tests for one-way, two-way and tree-way merge | Sebastian Thiel | 2009-10-21 | 1 | -3/+78 |
| | |||||
* | index writing added including simple test, improved docs of IndexEntry | Sebastian Thiel | 2009-10-21 | 1 | -25/+127 |
| | |||||
* | improved IndexEntry type and added test for parsing of the stage | Sebastian Thiel | 2009-10-20 | 1 | -4/+4 |
| | |||||
* | Improved tuple access of EntryIndex class including test, stage and type ↵ | Sebastian Thiel | 2009-10-20 | 1 | -0/+55 |
| | | | | 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/+99 |
| | | | | 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 |