aboutsummaryrefslogtreecommitdiff
path: root/git/util.py
AgeCommit message (Collapse)Author
2014-07-25Autopep8 fixes with maximum line length 120Craig Northway
2014-02-09tabs to 4 spaces - overall state of this branch is desolate, but fixable. ↵Sebastian Thiel
Needs plenty of work
2012-02-02Fixed 'Inappropriate ioctl for device' problem on posix systemsSebastian Wallat
2011-07-05util: pick the type of memory manager based on the python version, to have ↵Sebastian Thiel
optimal results in all cases (at least the ones I can test) pack: now works properly with a sliding memory manager test_packedodb_pure: fixed very memory hungry implementation by using an iterator. This will of course reduce the measured performance a bit, but 750MB of memory is just a little bit too much for an ordinary test. Maybe it would be alright to just reduce the number of items ... but performance isn't a strength of python after all
2011-07-05util: added global sliding memory managerSebastian Thiel
pack: now using the global sliding memory manager. The current implementation uses assumes that packs are small enough to fit into memory right away, where the window size will be about 1 GB, as it never calls use_window() to assure the required offset actually exists. It will need to change to set the window appropriately.
2011-06-13Submodule now uses a specialized method to remove its trees to allow ↵Sebastian Thiel
read-only files to be removed on windows as well
2011-06-08util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel
functionality
2011-06-08log: non-existing logs no longer throw an exception, but are ignored. Fixed ↵Sebastian Thiel
critical bug which caused packed-ref files to be written with native line endings, which made git fail to parse it. I wonder why I never noticed this before, or ignored it. Unbelievable \!
2011-06-07First run in order to fix the remote handling. Cleaned up interfaces and ↵Sebastian Thiel
figured out that the implementation really should be specific to the git command. This leaves the interface open for other implemntations which use a different way to provide feedback (as we do not make assumptions about the format of a feedback line)
2011-05-05Added all code from gitdb to gitpython. Next is to make it generally work. ↵Sebastian Thiel
Then the tests will need some work
2011-05-05Made most primal imports work, but stopped here as there are many more ↵Sebastian Thiel
changes when doing the merge
2011-04-29Moved rev_parse code into gitdb, this probably broke pretty much here, which ↵Sebastian Thiel
is still to be fixed of course
2011-04-07Updated objects to use the ones defined in gitdb as basis. Only the ↵Sebastian Thiel
submodule implementation is left in git-python as it requires some advanced features. No tests where run yet
2011-04-07Removed all parts of the reference implementation which doesn't require the ↵Sebastian Thiel
git command. everything else was moved to GitDB. None of the tests is yet expected to run, although git-python should have less trouble getting the tests back up running than GitDB. plenty of code needs to be de-duplicated though in case of the tests, which will be some work
2011-04-05Moved push and fetch methods partly from remote to the gitcmdobjdb ↵Sebastian Thiel
implementation, including related types. It doesn't yet work, and the omnipresence of the repo imposes a problem right now, as the required ref functionality is not yet part of the gitdb specification. theoretically, the whole ref implementation has to move into gitdb
2011-01-12OSX Signal handling: removed previous hack to fix it somehow using sleep - ↵Sebastian Thiel
the error was caused by PySide which, when instantiating a QApplication, changed the signal handlers to interrupt, instead of retry operating system calls, which caused git-python to fail subsequently. signal.siginterrupt can be used to fix this behaviour after an QApplication was instatiated.
2011-01-12sleep ui hack fix: removed platform.system() to use sys.platform instead, as ↵Sebastian Thiel
platform.system makes a system call itself
2011-01-06Added the bugfix code as a utility function to be reused wherever this ↵Andreas Gutsche
specific subprocess bug occurs.
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted