aboutsummaryrefslogtreecommitdiff
path: root/test/git/test_utils.py
AgeCommit message (Collapse)Author
2010-06-29Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel
the submodules's naming conventions
2010-06-15Moved LockedFD and its test into the gitdb projectSebastian Thiel
2010-06-15Reimplemented Lock handling to be conforming to the git lock protocol, which ↵Sebastian Thiel
is actually more efficient than the previous implementation Index now locks its file for reading, and properly uses LockedFD when writing
2010-06-03commit.create_from_tree now uses pure python implementation, fixed message ↵Sebastian Thiel
parsing which truncated newlines although it was ilegitimate. Its up to the reader to truncate therse, nowhere in the git code I could find anyone adding newlines to commits where it is written Added performance tests for serialization, it does about 5k commits per second if writing to tmpfs
2010-06-02commit: initial version of commit_from_tree which could create commit ↵Sebastian Thiel
objects if it could serialize itself
2010-03-04Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel
2009-12-10index: TempFileMover now handles the case that the file to move does not ↵Sebastian Thiel
exist more gracefully Added BlockingLockFile which may be used to wait for the lock according to some criteria
2009-11-05ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵Sebastian Thiel
binary files went crazy as well as binary writing
2009-10-22Added test for ConcurrentWriteOperationSebastian Thiel
2009-10-22utils: Added LockFile including testSebastian Thiel
GitConfigFile is now derived from LockFile using its capabilities Implemented ConcurrentWriteOperation, test is yet to be done
2009-10-20Fixed bare repository handling - bare is now a property to prevent writing itSebastian Thiel
2009-10-11converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵Sebastian Thiel
editor to work with the files properly. Can convert it back for releaes
2009-01-24Lots of spring cleaning and added in Sphinx documentation.Michael Trier
2008-07-16Added license information to all files.Michael Trier
2008-05-30renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵Michael Trier
up tests so they pass except for stderr test. Modified version information retrieval.
2008-05-29tests: add utils.pop_key() testcasesDavid Aguilar
This commit cleans up some unused variables in test_utils.py and adds some testcases for utils.pop_key(). Signed-off-by: David Aguilar <davvid@gmail.com>
2008-05-21fixed errors in the test, two permission errors remaining, thx to mock?!?!Florian Apolloner
Also removed the shell_escape tests...
2008-05-07Moved test stuff around and modified imports to just clean things up a bit.Michael Trier
2008-05-07cleaned up a bunch of imports for the tests.Michael Trier
2008-05-07initial projectMichael Trier