Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |