summaryrefslogtreecommitdiff
path: root/refs/symbolic.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-618/+0
| | | | adjusted
* Fixed doc strings, improved error checking on RefLog.write methodSebastian Thiel2010-11-241-0/+2
|
* RefLog: added entry_at method, which is a faster way of reading single ↵Sebastian Thiel2010-11-241-0/+9
| | | | entries, including test
* Renamed msg named parameter to logmsg, as it describes the purpose of the ↵Sebastian Thiel2010-11-241-16/+16
| | | | | | message much better Added test for deletion of reflog file when the corresponding ref is deleted
* Added tests for creation and adjustments of reference, verifying the log ↵Sebastian Thiel2010-11-241-3/+11
| | | | gets written
* Fixed remaining issues, all tests work as expectedSebastian Thiel2010-11-241-12/+32
|
* Unified object and commit handling which should make the reflog handling ↵Sebastian Thiel2010-11-241-44/+78
| | | | much easier. There is some bug in it though, it still needs fixing
* Made previously protected methods public to introduce a method with reflog ↵Sebastian Thiel2010-11-241-45/+69
| | | | support which cannot be exposed using the respective property. Ref-Creation is now fully implemented in python. For details, see doc/source/changes.rst
* Implemented revlog.append_entry as classmethod, to assure we will always ↵Sebastian Thiel2010-11-231-1/+12
| | | | | | 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-19/+6
| | | | 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-0/+1
| | | | | | 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-0/+10
|
* Split ref implementation up into multiple files, to make room for the log ↵Sebastian Thiel2010-11-231-0/+512
implementation