Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flattened test folder structure, didn't adjust any file content yet | Sebastian Thiel | 2010-11-21 | 1 | -141/+0 |
| | |||||
* | Optimized test-decorators, by completely removing with_bare_rw_repo, which ↵ | Sebastian Thiel | 2010-11-15 | 1 | -0/+2 |
| | | | | was mainly copy-paste from with_rw_repo, what a shame | ||||
* | All tests adjusted to work with the changed internal sha representation | Sebastian Thiel | 2010-06-28 | 1 | -7/+3 |
| | |||||
* | Initial frame for implementing read_tree using pure python. As git-read-tree ↵ | Sebastian Thiel | 2010-06-22 | 1 | -0/+5 |
| | | | | | | | can do much more than we can ( and faster assumably ), the .new method is used to create new index instances from up to 3 trees. Implemented multi-tree traversal to facilitate building a stage list more efficiently ( although I am not sure whether it could be faster to use a dictionary together with some intensive lookup ), including test Added performance to learn how fast certain operations are, and whether one should be preferred over another | ||||
* | tree: added TreeModifier, allowing to adjust existing trees safely and or ↵ | Sebastian Thiel | 2010-06-14 | 1 | -5/+58 |
| | | | | fast, while staying compatible with serialization which requires it to be sorted | ||||
* | Implemented initial version of tree serialization which appears to work ↵ | Sebastian Thiel | 2010-06-14 | 1 | -55/+74 |
| | | | | | | | according to a simple test ( presort still needs implementation ) submodule: added stub to allow the tree to return something, its not implemented though | ||||
* | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | 2010-03-04 | 1 | -53/+53 |
| | |||||
* | tree: implemented recursive paths in __div__ and __getitem__ method, ↵ | Sebastian Thiel | 2009-12-30 | 1 | -1/+4 |
| | | | | allowing the keys to contain slashes; adjusted test to check for this | ||||
* | ItemTraversal: Predicate and prune functions now provide depth information, ↵ | Sebastian Thiel | 2009-11-27 | 1 | -3/+3 |
| | | | | allowing the callee to know more about its environment | ||||
* | tree: added traversal method, adjusted tests | Sebastian Thiel | 2009-11-26 | 1 | -1/+1 |
| | | | | Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\! | ||||
* | Improved cmd error handling in case an invalid revision is specified for an ↵ | Sebastian Thiel | 2009-11-04 | 1 | -1/+1 |
| | | | | | | object repo.tree: improved to be less restricting | ||||
* | IndexObject: assured that .path fields are relative to the repository ( ↵ | Sebastian Thiel | 2009-11-04 | 1 | -0/+14 |
| | | | | | | previously it would just be a name ) added abspath property and name property to provide easy access to most common paths of an index object | ||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 1 | -1/+1 |
| | | | | as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | ||||
* | tree.traverse: Added prune functionality - previously the predciate did ↵ | Sebastian Thiel | 2009-10-21 | 1 | -0/+5 |
| | | | | both, pruning and preventing to return items | ||||
* | Removed plenty of mocked tree tests as they cannot work anymore with ↵ | Sebastian Thiel | 2009-10-14 | 1 | -100/+0 |
| | | | | | | persistent commands that require stdin AND binary data - not even an adapter would help here. These tests will have to be replaced. test_commit: Improved efficiency of traversal test | ||||
* | tree: renamed content_from_string to _from_string to make it private. ↵ | Sebastian Thiel | 2009-10-13 | 1 | -27/+2 |
| | | | | Removed tests that were testing that method | ||||
* | tree: now behaves like a list with string indexing functionality - using a ↵ | Sebastian Thiel | 2009-10-12 | 1 | -24/+44 |
| | | | | | | dict as cache is a problem as the tree is ordered, added blobs, trees and traverse method repo: remove blob function as blobs are created directly or iterated - primitve types should not clutter the repo interface | ||||
* | renamed from_string and list_from_string to _from_string and ↵ | Sebastian Thiel | 2009-10-12 | 1 | -4/+4 |
| | | | | _list_from_string to indicate their new status as private method, adjusted all callers respectively | ||||
* | Fixed remaining tests to deal with the changes | Sebastian Thiel | 2009-10-11 | 1 | -2/+2 |
| | | | | mode is now generally an int compatible to the stat module | ||||
* | lazymixin system now supports per-attribute baking, it is up to the class ↵ | Sebastian Thiel | 2009-10-11 | 1 | -1/+1 |
| | | | | whether it bakes more. This also leads to more efficient use of memory as values are only cached and set when required - the baking system does not require an own tracking variable anymore, and values are only to be cached once - then python will natively find the cache without involving any additional overhead. This works by using __getattr__ instead of __get_attribute__ which would always be called | ||||
* | converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵ | Sebastian Thiel | 2009-10-11 | 1 | -117/+117 |
| | | | | editor to work with the files properly. Can convert it back for releaes | ||||
* | Blob|Tree: renamed 'name' member to 'path', updated tests and changelog as ↵ | Sebastian Thiel | 2009-10-09 | 1 | -2/+2 |
| | | | | it would make existing code incompatible in some places | ||||
* | Fix unittests for Mock 0.5.0 | Paul J. Davis | 2009-09-14 | 1 | -4/+4 |
| | |||||
* | Lots of spring cleaning and added in Sphinx documentation. | Michael Trier | 2009-01-24 | 1 | -1/+1 |
| | |||||
* | Get compatible with mock0.4 (to some extend ;)). Just that Michael | Florian Apolloner | 2008-12-15 | 1 | -12/+12 |
| | | | | | doesn't need to do the same boring replacing I did. (cherry picked from commit 10c62aa69193a8bc7b46ca24c2ad1d5008489665) | ||||
* | Replace GitPython with git in repr() outputs. | Steve Frécinaux | 2008-09-17 | 1 | -1/+1 |
| | | | | | The imported module is called git (as in "import git"), so it's less confusing to do so than to call everything GitPython.something. | ||||
* | Make Tree.content_from_string a static method. | Steve Frécinaux | 2008-09-06 | 1 | -7/+6 |
| | | | | It doesn't use an object's private contents, so let's go... | ||||
* | Implement dict protocol for trees. | Steve Frécinaux | 2008-09-06 | 1 | -3/+52 |
| | | | | | It is rather intuitive to consider trees as a dict of objects (like a directory could be seen as a dict of files). | ||||
* | Use a dictionnary for tree contents | Steve Frécinaux | 2008-09-05 | 1 | -1/+1 |
| | | | | | | | It seems more natural to use a dictionnary for directories, since we usually want to access them by name, and entry order is not relevant. Also, finding a particular blob given its name is O(1) instead of O(N). | ||||
* | Removed method_missing since it was only used in one place. | Michael Trier | 2008-07-17 | 1 | -4/+4 |
| | |||||
* | Added license information to all files. | Michael Trier | 2008-07-16 | 1 | -0/+6 |
| | |||||
* | renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵ | Michael Trier | 2008-05-30 | 1 | -1/+1 |
| | | | | up tests so they pass except for stderr test. Modified version information retrieval. | ||||
* | lots of little fixes. Corrected problem with creating bare repo. Added ↵ | Michael Trier | 2008-05-18 | 1 | -1/+15 |
| | | | | Repo.create alias. | ||||
* | Moved test stuff around and modified imports to just clean things up a bit. | Michael Trier | 2008-05-07 | 1 | -3/+1 |
| | |||||
* | cleaned up a bunch of imports for the tests. | Michael Trier | 2008-05-07 | 1 | -3/+3 |
| | |||||
* | initial project | Michael Trier | 2008-05-07 | 1 | -0/+83 |