summaryrefslogtreecommitdiff
path: root/refs/log.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-282/+0
| | | | adjusted
* Fixed doc strings, improved error checking on RefLog.write methodSebastian Thiel2010-11-241-2/+9
|
* RefLog: added entry_at method, which is a faster way of reading single ↵Sebastian Thiel2010-11-241-0/+31
| | | | entries, including test
* Unified object and commit handling which should make the reflog handling ↵Sebastian Thiel2010-11-241-3/+6
| | | | much easier. There is some bug in it though, it still needs fixing
* Implemented revlog.append_entry as classmethod, to assure we will always ↵Sebastian Thiel2010-11-231-10/+27
| | | | | | actually write_append the new entry, instead of rewriting the whole file. Added file-locking and directory handling, so the implementation should be similar (enough) to the git reference implementation. Next up is to implement a way to update the reflog when changing references, which is going to be a little more complicated
* Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only ↵Sebastian Thiel2010-11-231-5/+9
| | | | set during merge and rebase, and probably everything that changes the ref more drastically. Probably I have to reread that. What needs to be adjusted though is the reflog
* Actor: Moved it from git.objects.util to git.util, adjusted all imports ↵Sebastian Thiel2010-11-231-11/+53
| | | | | | accordingly. Added methods to Actor to retrieve the global committer and author information Reflog: implemented and tested append_entry method
* SymbolicReference: log method added, including testSebastian Thiel2010-11-231-2/+1
|
* Implemented reflog reading and writingSebastian Thiel2010-11-231-21/+39
|
* Initial interface including some of the implementation of the RefLog. ↵Sebastian Thiel2010-11-231-0/+161
TestCase scetched out for now tests: Added tests to verify that objects don't have a dict. Previously, due to a missing __slots__ member in Serializable, most objects would indeed have a dict, although the opposite was intended