summaryrefslogtreecommitdiff
path: root/test/git/test_remote.py
Commit message (Collapse)AuthorAgeFilesLines
* PushInfo: added summary field to help providing user readable informationSebastian Thiel2009-11-241-0/+2
| | | | Index.checkout: fixed bug in exception creator function
* remote.fetch: fetchInfo would not provide old_commit information in case of ↵Sebastian Thiel2009-11-231-3/+3
| | | | fast_forwards although. Renamed cumbersome 'commit_before_forced_updated' attribute to 'old_commit' to be en par with PushInfo
* test_remote: fixed test which assumed existance of local master tracking ↵Sebastian Thiel2009-11-061-1/+7
| | | | branch, it will now create it if necessary
* helpers: fixed and improved test repo decorators to use the new ↵Sebastian Thiel2009-11-041-4/+0
| | | | | | head.checkout functions for greater ease of use - they work exactly as expected now. Fixed failing test in remote tests by actually removing the line
* refs: iter_items now imlemented natively for additional performance. We did ↵Sebastian Thiel2009-11-031-1/+0
| | | | not implement the crazy sorting feature found in git-for-each-ref though
* Finished all push tests I could think of so far. More error cases should be ↵Sebastian Thiel2009-11-031-3/+20
| | | | studied, but they would be hard to 'produce'
* Intermediate commit with a few added and improved tests as well as many fixesSebastian Thiel2009-11-031-7/+61
|
* Implemented PushProgress and PushInfo class including basic test cases. Now ↵Sebastian Thiel2009-11-021-6/+48
| | | | many more test-cases need to be added to be sure we can truly deal with everything git throws at us
* Added frame for push testing and push implemenationSebastian Thiel2009-10-281-7/+28
|
* Another attempt to make fetch emit progress information, but in fact its ↵Sebastian Thiel2009-10-281-13/+51
| | | | proven now that this is not happening if stderr is being redirected. A test is in place that will most likely fail in case this ever changes
* Tried to use shallow repository - this works in case it is remote, but ↵Sebastian Thiel2009-10-281-2/+17
| | | | unfortunately, deepening the repository fails if the server is used. This is bad, but a workaround is to create another shared repo which pushes a changes that we fetch into our given repo. This should provide more output to properly test the fetch handling. Harder than I thought
* Fixed bug when listing remotes - it was based on references which is ↵Sebastian Thiel2009-10-281-3/+3
| | | | incorrect as it cannot always work
* FetchInfo class is not a subclass of Remote class anymore, as more classes ↵Sebastian Thiel2009-10-281-6/+8
| | | | are to be added it cluttered up the view and made things more complex as well
* IterableList: added support for prefix allowing remote.refs.master ↵Sebastian Thiel2009-10-281-3/+21
| | | | | | constructs, previously it was remote.refs['%s/master'%remote] Added first simple test for push support, which shows that much more work is needed on that side to allow just-in-time progress information
* tag handling tests finished, unfortunately there is not yet a rejected case, ↵Sebastian Thiel2009-10-281-5/+13
| | | | but it will assuambly follow with the push tests
* Implemented handling of FETCH_HEAD and tags, some test cases still missing ↵Sebastian Thiel2009-10-271-9/+11
| | | | dealing with deletion and movements of remote tags ( which in fact is discouraged, but we should be able to deal with it, shouldnt we ;)
* Added special cases to test that shows we cannot yet:Sebastian Thiel2009-10-271-3/+20
| | | | | | handle the FETCH_HEAD case and handle tags System needs to be adjusted to take the FETCH_HEAD info into account to cover the tags case
* Added remote stale_refs property including test, tested new remote branch ↵Sebastian Thiel2009-10-271-8/+38
| | | | handling and deletion of stale remote branches
* Added non-fast forward test case, fixed parsing issue caused by initial line ↵Sebastian Thiel2009-10-271-4/+15
| | | | stripping
* implemented test for rejection handling and fixed a bug when parsing remote ↵Sebastian Thiel2009-10-271-9/+24
| | | | reference paths
* Added testing frame for proper fetch testing to be very sure this works as ↵Sebastian Thiel2009-10-271-8/+42
| | | | expected. Plenty of cases still to be tested
* put _make_file helper method into TestBase classSebastian Thiel2009-10-271-2/+9
| | | | remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
* Fixed decorator issue that would cause a function to be passed even though ↵Sebastian Thiel2009-10-221-14/+13
| | | | | | 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.
* remote: Added fetch, pull, push methods to the interface to make these ↵Sebastian Thiel2009-10-211-2/+5
| | | | operations more convenient, like repo.remotes.origin.fetch
* Implemneted IterableLists for refs, commits and remote objects including ↵Sebastian Thiel2009-10-191-0/+1
| | | | simple tests
* repo.remote method addedSebastian Thiel2009-10-191-0/+1
| | | | CHANGES updated to carry information about remotes and config
* remote: added tests for creation and removal, finishing the remote interfaceSebastian Thiel2009-10-191-2/+17
|
* remote: base tests succeed nowSebastian Thiel2009-10-191-1/+6
|
* Added configuration access including tests to remoteSebastian Thiel2009-10-191-2/+23
| | | | | config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first
* Added remote module and test cases - about to implement remote option handlingSebastian Thiel2009-10-191-0/+48