| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
create objects, whose import would create a dependency cycle
|
|
|
|
| |
is missing - these tests have to be redone in test-diff module accordingly
|
|
|
|
|
|
| |
this was assumed - now there is a test for it as well
repo: removed diff and commit_diff methods, added 'head' property returning the current head as Reference object
|
| |
|
|
|
|
|
|
| |
stream - previously it would cache everything to memory and try to provide zipping functionality itself
gitcmd: allows the output stream to be set explicitly which is mainly useful for archiving operations
|
|
|
|
| |
do it 'barely' only. New method names closely follow the default git command names
|
|
|
|
| |
create an object directly - this feature is used in several places now, allowing for additional type-checking
|
|
|
|
|
| |
Renamed Commit.commits to iter_commits
repo: assured proper use of the terms revision ( rev ) and reference ( ref )
|
|
|
|
| |
obsolete once the interface overhaul is finished. This commit is just intermediate
|
|
|
|
|
|
| |
memory
time imports cleaned up and mostly removed as they were not required (anymore)
|
|
|
|
|
|
|
| |
achieved throughput
repo.commits: max_count is None by default
moved benchmark-like test from test_commit to test_performance
|
|
|
|
|
|
| |
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
|
|
|
|
| |
safe possibly hundreds of command calls
|
|
|
|
| |
work, but assures refs behave as expected
|
|
|
|
| |
possible input ref - the objects pointed to by refs are now baked on demand - perhaps it should change to always be re-retrieved using a property as it is relatively fast - this way refs can always be cached
|
|
|
|
|
|
| |
cannot handle the complexity of the command backend
All objects but Tree now use the persistent command to read their object information - Trees get binary data and would need their own pretty-printing or they need to parse the data themselves which is my favorite
|
|
|
|
| |
information retrieval
|
|
|
|
|
|
|
| |
currently it cause hundreds of command invocations which is slow
Fixed issue with trees not properly initialized with their default mode
_set_cache_: some objects checked whether the attribute was within their __slots__ although it should have been accessed through its class
|
|
|
|
|
|
|
| |
output directly from the output stream
commit: now reads commit information directly from the output stream of the process by implementing its iterator method
repo: removed log method as it was redundant ( equal to the commits method )
|
|
|
|
| |
preparation for command changes
|
|
|
|
| |
different packages
|
|
|
|
| |
Removed tests that were testing that method
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
_list_from_string to indicate their new status as private method, adjusted all callers respectively
|
| |
|
|
|
|
| |
existance was doubtful or unsafe
|
|
|
|
| |
mode is now generally an int compatible to the stat module
|
|
|
|
|
|
| |
return the same thing which does not work anymore - re-implemented it in a more dynamic manner, but in the end tests will have to be revised anyway
Added slots to Diff and Stats type respectively
|
|
|
|
| |
properly
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
editor to work with the files properly. Can convert it back for releaes
|
|
|
|
| |
dyamically checks the existance of tags within the repository - it basically tests the interface and checks that expected return types are actually returned
|
|
|
|
| |
test is in place which still fails on purpose. Need to integrate tags which can be objects or just a special form of a ref
|
|
|
|
| |
it would make existing code incompatible in some places
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
previous one which never ran
removed old tests which were commented out
test_achive* method didn't actually call the functions, but only derefenced them
|
| |
| |
| |
| |
| |
| | |
path ( in the 'name' member variable ), the a|b_path members of Diff have been removed. Tests were adjusted and run
Diff docs have been updated to provide a little more information on specifics cases
|
| |
| |
| |
| | |
individual characters
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'JonNordby/master':
implemented equality operations on Commit objects
|
| |/ |
|
|/ |
|
| |
|
|
|
|
| |
(cherry picked from commit 88852ed7bcde4f4b18c1ae8b6fba7f3fab8e9bf5)
|
|
|
|
|
|
|
|
|
| |
Git allows branches to be named and organized using path components, e.g using
a branch called "refactoring/feature1", which gets stored under
refs/heads/refactoring/feature1. The previous code omitted everything but the
last path component giving the name "feature1" instead of
"refactoring/feature1" for the branch. This changeset fixes that.
(cherry picked from commit dc4738bc53e580754e47037e26c7eec3047aeb69)
|
| |
|
|
|
|
|
| |
Adds a summary property to the Commit object which returns just the first line of the commit message and makes the message property contain the entire commit message (previously the message property only contained the first line of the commit message). This breaks backwards compatibility a little in that the message property now contains a different value but previously there was no way to access the entire commit message from the Commit object and this is in keeping with git vocabulary, where message generally refers to the entire commit message.
(cherry picked from commit 9d2962d8306c894d4cca55bab551677b92d96352)
|