| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
was mainly copy-paste from with_rw_repo, what a shame
|
|
|
|
| |
the rule of trying not to cache possibly heavy data. The data_stream method should be used instead
|
|
|
|
| |
the submodules's naming conventions
|
| |
|
| |
|
|
|
|
| |
safer to use in case of bare repositories
|
|
|
|
| |
Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\!
|
|
|
|
| |
as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly
|
|
|
|
|
|
|
|
| |
types of references and allow special handling
Head.reset now is an instance method of HEAD type
Concatenated all reference specific tests into test_refs
started to fix tests breaking now because of changed interface
|
|
|
|
| |
nature of the command. Yet I don't really like the way you have to call it as repo has to be ṕassed as first arg
|
|
|
|
|
|
| |
there is a default argument. This feels inconsistent as the 'argument passer' wrapper function can be called with a function or a string as first argument depending on whether the client code was explicitly passing an argument or not. That ... sucks. Now test for that case specifically and fail with a proper assertion error. I don't like it, but what can I do ... .
Remote tests adjusted to use rw repositories instead. More tests to follow, and many api methods are to be implemented now these things can be tested properly.
|
| |
|
|
|
|
| |
that test whether the testing framework does what it should
|
|
|
|
|
|
|
|
|
|
|
| |
low memory footprint.
Still, the git-cat-file command keeps all data in an interal buffer instead of streaming it directly.
This is a git design issue though, and will be hard to address without some proper git-hacking.
Conflicts:
lib/git/cmd.py
|
|
|
|
| |
directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Renamed Commit.commits to iter_commits
repo: assured proper use of the terms revision ( rev ) and reference ( ref )
|
|
|
|
|
|
| |
memory
time imports cleaned up and mostly removed as they were not required (anymore)
|
|
|
|
| |
work, but assures refs behave as expected
|
|
|
|
|
|
| |
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
|
|
|
|
| |
different packages
|
| |
|
| |
|
|
|
|
| |
existance was doubtful or unsafe
|
|
|
|
| |
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
|