summaryrefslogtreecommitdiff
path: root/refs
Commit message (Collapse)AuthorAgeFilesLines
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-257-1405/+0
| | | | adjusted
* Fixed doc strings, improved error checking on RefLog.write methodSebastian Thiel2010-11-242-2/+11
|
* RefLog: added entry_at method, which is a faster way of reading single ↵Sebastian Thiel2010-11-242-0/+40
| | | | entries, including test
* Renamed msg named parameter to logmsg, as it describes the purpose of the ↵Sebastian Thiel2010-11-242-20/+20
| | | | | | 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-242-3/+41
| | | | 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-243-83/+85
| | | | 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-244-103/+76
| | | | 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-232-11/+39
| | | | | | 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-233-41/+15
| | | | 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-232-11/+54
| | | | | | accordingly. Added methods to Actor to retrieve the global committer and author information Reflog: implemented and tested append_entry method
* Documentation is now being built for all new modulesSebastian Thiel2010-11-231-1/+0
|
* SymbolicReference: log method added, including testSebastian Thiel2010-11-232-2/+11
|
* Implemented reflog reading and writingSebastian Thiel2010-11-231-21/+39
|
* Initial interface including some of the implementation of the RefLog. ↵Sebastian Thiel2010-11-232-2/+164
| | | | | | 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
* Fixed remaining tests - lets hope that everything is indeed working ↵Sebastian Thiel2010-11-233-0/+4
| | | | correctly - as imports changed, every line of code needs to be run to assure all names can be resolved
* Split ref implementation up into multiple files, to make room for the log ↵Sebastian Thiel2010-11-236-0/+1086
implementation