aboutsummaryrefslogtreecommitdiff
path: root/refs/log.py
AgeCommit message (Collapse)Author
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted
2010-11-24Fixed doc strings, improved error checking on RefLog.write methodSebastian Thiel
2010-11-24RefLog: added entry_at method, which is a faster way of reading single ↵Sebastian Thiel
entries, including test
2010-11-24Unified object and commit handling which should make the reflog handling ↵Sebastian Thiel
much easier. There is some bug in it though, it still needs fixing
2010-11-23Implemented revlog.append_entry as classmethod, to assure we will always ↵Sebastian Thiel
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
2010-11-23Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only ↵Sebastian Thiel
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
2010-11-23Actor: Moved it from git.objects.util to git.util, adjusted all imports ↵Sebastian Thiel
accordingly. Added methods to Actor to retrieve the global committer and author information Reflog: implemented and tested append_entry method
2010-11-23SymbolicReference: log method added, including testSebastian Thiel
2010-11-23Implemented reflog reading and writingSebastian Thiel
2010-11-23Initial interface including some of the implementation of the RefLog. ↵Sebastian Thiel
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