aboutsummaryrefslogtreecommitdiff
path: root/lib/git/ext/gitdb
AgeCommit message (Collapse)Author
2010-11-15submodule: Fleshed out interface, and a partial test which is not yet ↵Sebastian Thiel
usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository
2010-10-15Added test to verify the actor type can handle and parse unicode if it is ↵Sebastian Thiel
passed in test_odb: added more information to the message output
2010-08-13unicode handling in messages and trees was improved. Messages are now ↵Sebastian Thiel
written according to the encoding of the commit object, and decoded using that information as well. Trees will encode and decode their names with utf8
2010-07-15Index._iter_expand_paths: fixed tiny error with large impact, there was code ↵Sebastian Thiel
using a / in a hardcoded fashion, leading to absolute paths where the caller expected relative ones
2010-07-14Added performance test to compare inst.__class__() vs type(inst)() class. ↵Sebastian Thiel
The first one is faster, although I would have expected the latter one to be faster
2010-07-09Added python 2.4 support: Repo will now use the original GitCmdObjectDB in ↵Sebastian Thiel
python 2.4, as the pure python implementation cannot work without memory maps
2010-07-08setup.py: fixed requirement - its interesting to see that there are two ↵0.3.0-beta1Sebastian Thiel
different keywords for distutils and setuptools, the latter one doesn't read the ones of the first one, unfortunately
2010-07-07Initially working implementation of short-sha parsing and interpretation, ↵Sebastian Thiel
thanks to new gitdb functionality
2010-07-06Initial version of the rev-parse routine, which doesn't work too bad, but ↵Sebastian Thiel
its still rather slow and many tests are not yet implemented
2010-07-02win32 compatability adjustmentsunknown
2010-07-02Fixed broken 0.2 documentation, it didn't contain the API reference ↵Sebastian Thiel
previously due to import errors and a somewhat inconsistent working tree that occurred when switching branches ...
2010-07-01Added further information about the required submodules, and how to install ↵Sebastian Thiel
them. Incremeneted version to 0.3.0 beta1
2010-06-29Diff: fixed bug that caused a string to end up as a blob modeSebastian Thiel
2010-06-25Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel
use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
2010-06-25index.reset is now partly implemented using python, but in fact it resorts ↵Sebastian Thiel
to using git-read-tree to keep the stat information when merging one tree in. After all this is what needed to be implemented in python as well
2010-06-24aggressive_tree_merge: fixed incorrect handling of one branch, it was just ↵Sebastian Thiel
not implemented causing incorrect merge results. Added test to cover this issue Diff: added NULL_BIN_SHA constant for completeness
2010-06-22index.write_tree: now uses MemoryDB, making tree handling more efficient as ↵Sebastian Thiel
IO will only be done when required. A possible disadvantage though is that time is spent on compressing the trees, although only the raw data and their shas would theoretically be needed. On the other hand, compressing their data uses less memory. An optimal implementation would just sha the data, check for existance, and compress it to write it to the database right away. This would mean more specialized code though, introducing redundancy. If IStreams would know whether they contain compressed or uncompressed data, and if there was a method to get a sha from data, this would work nicely in the existing framework though
2010-06-20db: added pure python git databaseSebastian Thiel
repo: now has the option to use the pure python git database implementation, which is currently not used though
2010-06-18GitCmd implementation of gitdb base moved to git-python where it belongs. ↵Sebastian Thiel
Previously it was located in gitdb, which doesn't have any facilities to use the git command
2010-06-15Move LazyMixin type to gitdb, index reading now uses file_contents_ro from ↵Sebastian Thiel
gitdb as well
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-14Implemented initial version of tree serialization which appears to work ↵Sebastian Thiel
according to a simple test ( presort still needs implementation ) submodule: added stub to allow the tree to return something, its not implemented though
2010-06-12Removed odb from project, it is now used as a submodule named gitdb, which ↵Sebastian Thiel
was added instead Adjusted all imports to deal with the changed package names