summaryrefslogtreecommitdiff
path: root/test/git/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel2010-06-291-105/+0
| | | | the submodules's naming conventions
* Moved LockedFD and its test into the gitdb projectSebastian Thiel2010-06-151-72/+1
|
* Reimplemented Lock handling to be conforming to the git lock protocol, which ↵Sebastian Thiel2010-06-151-17/+41
| | | | | | is actually more efficient than the previous implementation Index now locks its file for reading, and properly uses LockedFD when writing
* commit.create_from_tree now uses pure python implementation, fixed message ↵Sebastian Thiel2010-06-031-3/+6
| | | | | | 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
* commit: initial version of commit_from_tree which could create commit ↵Sebastian Thiel2010-06-021-102/+131
| | | | objects if it could serialize itself
* Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel2010-03-041-102/+102
|
* index: TempFileMover now handles the case that the file to move does not ↵Sebastian Thiel2009-12-101-0/+14
| | | | | | exist more gracefully Added BlockingLockFile which may be used to wait for the lock according to some criteria
* ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵Sebastian Thiel2009-11-051-2/+2
| | | | binary files went crazy as well as binary writing
* Added test for ConcurrentWriteOperationSebastian Thiel2009-10-221-1/+50
|
* utils: Added LockFile including testSebastian Thiel2009-10-221-1/+36
| | | | | GitConfigFile is now derived from LockFile using its capabilities Implemented ConcurrentWriteOperation, test is yet to be done
* Fixed bare repository handling - bare is now a property to prevent writing itSebastian Thiel2009-10-201-0/+1
|
* converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵Sebastian Thiel2009-10-111-9/+9
| | | | editor to work with the files properly. Can convert it back for releaes
* Lots of spring cleaning and added in Sphinx documentation.Michael Trier2009-01-241-1/+1
|
* Added license information to all files.Michael Trier2008-07-161-0/+6
|
* renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵Michael Trier2008-05-301-16/+1
| | | | up tests so they pass except for stderr test. Modified version information retrieval.
* tests: add utils.pop_key() testcasesDavid Aguilar2008-05-291-6/+20
| | | | | | | 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>
* fixed errors in the test, two permission errors remaining, thx to mock?!?!Florian Apolloner2008-05-211-3/+3
| | | | Also removed the shell_escape tests...
* Moved test stuff around and modified imports to just clean things up a bit.Michael Trier2008-05-071-2/+1
|
* cleaned up a bunch of imports for the tests.Michael Trier2008-05-071-3/+3
|
* initial projectMichael Trier2008-05-071-0/+17