summaryrefslogtreecommitdiff
path: root/git
Commit message (Collapse)AuthorAgeFilesLines
...
* util: added global sliding memory managerSebastian Thiel2011-07-052-40/+46
| | | | 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.
* Added smmap as submodule, package initialization adjusted to assure it is ↵Sebastian Thiel2011-07-052-7/+9
| | | | available
* Fetch info can now deal much better with non-default ref specs, see #23, ↵Sebastian Thiel2011-07-043-6/+92
| | | | #24, #25
* Basic remote functionality moved to Reference type, as it can in fact be ↵Sebastian Thiel2011-07-043-19/+43
| | | | useful for tags as well, which might end up somewhere in the refs/remotes space. Its not likely that it will ever be used on a pure Reference instance though, but it is the smallest common base
* refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel2011-07-042-4/+11
| | | | including simple test
* Fixed implementation of _version_info which didn't work for python 2.4 ↵Sebastian Thiel2011-06-131-1/+1
| | | | thanks to the rpartition method. omg
* fixed submodule test to work on windowsSebastian Thiel2011-06-131-2/+3
|
* Submodule now uses a specialized method to remove its trees to allow ↵Sebastian Thiel2011-06-132-5/+19
| | | | read-only files to be removed on windows as well
* Made remote line parsing more stable. On windows it can be that we encounter ↵Sebastian Thiel2011-06-131-1/+12
| | | | partial or intermixed lines from the pipe. This really shouldn't be, but its windows so it happens
* test_submodule: Will now load everything into memory if smmap is present, to ↵Sebastian Thiel2011-06-131-0/+14
| | | | help the submodule test to work even on windows
* root submodule: Added parent_commit parameter for convenience. Fixed ↵Sebastian Thiel2011-06-133-8/+9
| | | | submodule tests to run
* Fixed submodule tests to go with either the old or the new version of gitdbSebastian Thiel2011-06-131-5/+6
|
* Fixed critical issue that would cause a string to be passed to methods that ↵Sebastian Thiel2011-06-082-4/+2
| | | | expect a stream
* symbolic reference handles different types for comparison more gracefully. ↵Sebastian Thiel2011-06-082-2/+12
| | | | Fixed possible issue in test_refs, which occurred in 0.3 previously
* util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel2011-06-082-1/+90
| | | | functionality
* pre-emptively moved all reference related tests into own package, to ↵Sebastian Thiel2011-06-084-0/+1
| | | | | | resemble their actual location a little more. Renamed test_git to test_cmd as it tests the git cmd located in git.cmd (not in git.git)
* Improved debug assertion to provide proper path on which to run a git daemonSebastian Thiel2011-06-081-2/+4
|
* git.version_info now returns exactly 4 numbersSebastian Thiel2011-06-081-2/+4
|
* log: non-existing logs no longer throw an exception, but are ignored. Fixed ↵Sebastian Thiel2011-06-083-5/+17
| | | | 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 \!
* Added additional opcodes to remote progress to make it compatible to newer ↵Sebastian Thiel2011-06-073-16/+26
| | | | git versions. This bug existed for quite a while but didn't show up as progress wasn't sent most of the time. All methods that could use a progress will only activate it if a progress is actually given
* Greatly improved robustness of config parser - it can now take pretty much ↵Sebastian Thiel2011-06-073-10/+23
| | | | everything. Includes an updated config file which includes all the new additions
* Match any number of leading spaces in config valuesJesse Keating2011-06-071-1/+1
| | | | | | The regex comments state that any number of leading tabs or spaces should be allowed, however the regex was only catching zero or one space. This allows multiple spaces.
* Making comparisons with non-GitPython objects more tolerant.Julien Miotte2011-06-071-0/+4
|
* The --progress flag will now automatically be used if possible when doing ↵Sebastian Thiel2011-06-071-4/+14
| | | | any push or fetch operation
* submodule now doesn't use hardcoded repository implementations anymore. ↵Sebastian Thiel2011-06-071-5/+9
| | | | Instead it allows the user to override the type in the classmethod he calls. Otherwise the type of the own repo will be respected
* Submodule tests are fully back and workingSebastian Thiel2011-06-071-18/+28
|
* Submodule tests are nearly working. Only root module needs more attentionSebastian Thiel2011-06-072-14/+36
|
* Fixed index checkout return code parsing to work with latest git versionSebastian Thiel2011-06-071-0/+4
|
* First run in order to fix the remote handling. Cleaned up interfaces and ↵Sebastian Thiel2011-06-079-630/+642
| | | | 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)
* clone and clone_from methods now support the RemoteProgress interface, using ↵Sebastian Thiel2011-06-072-105/+113
| | | | similar functionality as used by the fetch, push and pull methods
* Added version_info property to git commandSebastian Thiel2011-06-072-5/+28
|
* Fixed fetch/push/pull implementation. Next up is to integrate the ↵Sebastian Thiel2011-06-072-14/+25
| | | | consolidation changes from master to make clone use the same facilities
* Improved pack writing test to show that the pack generation can be lightning ↵Sebastian Thiel2011-06-061-21/+28
| | | | fast with nearly now overhead if the data streams in fast enough (~30 MB/s when writing a pack). This shows that there is huge potential for sending packs, considering that we are actually recompressing them (without deltification). To be faster in future, we could probably just send ref-deltas or full objects as found in the pack without doing any recompression.
* Streams returned by git cmd db are now containing all the data right away. ↵Sebastian Thiel2011-06-062-4/+14
| | | | This could cause several copies to exist, and makes the cmd implementation a bad choice if big files are involved
* Fixed performance pack writing tests. As they are actually depent on the ↵Sebastian Thiel2011-06-062-80/+76
| | | | database (as streams have to be decompressed, it should be redesigned to have multiple database implementations)
* Moved performance commit object test into the respective subfolder to ↵Sebastian Thiel2011-06-062-1/+2
| | | | indicate what it tests
* Fixed performance commit object testingSebastian Thiel2011-06-063-8/+10
|
* Added loose object writing and reading performance tessts, in pure and ↵Sebastian Thiel2011-06-065-312/+166
| | | | command implementations. The previous performance test was truncated a bit as it compared directly with the git hash_object write performance. This is out, and if we wanted it we could implement it , but its actually slower for us
* Added PackedDB test with generalized type to allows other implementations to ↵Sebastian Thiel2011-06-063-7/+21
| | | | be tested as well at some point
* Fixed packed ODB test, in preparation for separating the type to allow ↵Sebastian Thiel2011-06-063-6/+21
| | | | future implementations to use the test as well
* Fixed odb performance testsSebastian Thiel2011-06-068-94/+102
|
* Fixed symref tests to work on osxSebastian Thiel2011-06-011-3/+2
|
* Fixed ref-log related issue in the test suite to assure it will not give ↵Sebastian Thiel2011-06-011-2/+9
| | | | false positives in repositories that are freshly checked out
* Fixed remaining tests as good as possible. remote/fetch/pull and submodule ↵Sebastian Thiel2011-05-3018-137/+191
| | | | tests need some more work. Also, the tests need to be reorganized and move closer to their actual location within gitpython. Hence the refs tests go to git.test.refs, etc
* Fixed all of the object tests, except for the submodule handling which needs ↵Sebastian Thiel2011-05-306-15/+41
| | | | more work as the amount of submodules changed in fact. Maybe I should just generate a test repository with gitpython as submodule to get the recursion depth required to satisfy the test
* Fixed all remaining python repository testsSebastian Thiel2011-05-309-64/+77
|
* Fixed test_loose.pySebastian Thiel2011-05-301-3/+5
|
* Fixed test_git.pySebastian Thiel2011-05-301-8/+12
|
* Fixed pure python implementation to run the default repository testsSebastian Thiel2011-05-303-12/+11
|
* git cmd implementation of repository appears to work, at least this is what ↵Sebastian Thiel2011-05-3021-83/+118
| | | | the test suggests. Pure python implementation still has some trouble, but this should be very fixable