summaryrefslogtreecommitdiff
path: root/lib/git/remote.py
Commit message (Collapse)AuthorAgeFilesLines
* Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel2010-03-041-760/+760
|
* Implemented RemoteProgress parsing for git-fetch, which might become ↵Sebastian Thiel2010-01-121-41/+92
| | | | | | available at some point natively, within the git suite Progress parsing now deals properly with Ascii_Escape characters that are meant for the tty - git might stop sending this at some point, but we can deal with it no matter what
* remote.py: improved push-progress parsin to better deal with messages ( i.e. ↵Sebastian Thiel2010-01-121-7/+12
| | | | throughput )
* Added imports for standard locking file classes into the git moduleSebastian Thiel2009-12-161-1/+1
|
* config: fixed incorrect handling of default value in get_valueSebastian Thiel2009-12-091-3/+3
| | | | remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
* repo: renamed directories to more descriptive identifiers and made them ↵Sebastian Thiel2009-12-031-1/+1
| | | | safer to use in case of bare repositories
* PushInfo: added summary field to help providing user readable informationSebastian Thiel2009-11-241-3/+6
| | | | Index.checkout: fixed bug in exception creator function
* remote.fetch: fetchInfo would not provide old_commit information in case of ↵Sebastian Thiel2009-11-231-5/+8
| | | | fast_forwards although. Renamed cumbersome 'commit_before_forced_updated' attribute to 'old_commit' to be en par with PushInfo
* improved error when setting up server based test to make clear a server ↵Sebastian Thiel2009-11-041-1/+4
| | | | needs to be started
* added all new files to reference.rst and corrected the worst mistakes. There ↵Sebastian Thiel2009-11-041-10/+11
| | | | are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway.
* 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
* remotes are now retrieved directly by parsing the repository configuration ↵Sebastian Thiel2009-11-031-4/+10
| | | | file. This removes a git command invocation
* remote.push: Fixed progress parsing, previously it would read whole lines ↵Sebastian Thiel2009-11-031-3/+15
| | | | only which is equivalent to waiting for an operation to finish completely. Now we parse the stream manually, allowing to retrieve progress information as soon as it happens
* Finished all push tests I could think of so far. More error cases should be ↵Sebastian Thiel2009-11-031-1/+4
| | | | 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-8/+36
|
* Implemented PushProgress and PushInfo class including basic test cases. Now ↵Sebastian Thiel2009-11-021-17/+134
| | | | 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-13/+104
|
* Fixed bug when listing remotes - it was based on references which is ↵Sebastian Thiel2009-10-281-9/+2
| | | | incorrect as it cannot always work
* FetchInfo class is not a subclass of Remote class anymore, as more classes ↵Sebastian Thiel2009-10-281-137/+137
| | | | 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-5/+14
| | | | | | 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-0/+8
| | | | 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-22/+65
| | | | 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-1/+1
| | | | | | 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-1/+21
| | | | handling and deletion of stale remote branches
* Added non-fast forward test case, fixed parsing issue caused by initial line ↵Sebastian Thiel2009-10-271-2/+1
| | | | stripping
* implemented test for rejection handling and fixed a bug when parsing remote ↵Sebastian Thiel2009-10-271-8/+31
| | | | reference paths
* Added testing frame for proper fetch testing to be very sure this works as ↵Sebastian Thiel2009-10-271-13/+60
| | | | expected. Plenty of cases still to be tested
* put _make_file helper method into TestBase classSebastian Thiel2009-10-271-6/+39
| | | | remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
* remote: Added fetch, pull, push methods to the interface to make these ↵Sebastian Thiel2009-10-211-1/+61
| | | | operations more convenient, like repo.remotes.origin.fetch
* remote.refs now returns an IterableList allowing easier access to the ↵Sebastian Thiel2009-10-211-2/+2
| | | | remotes, and conforming it to the way repo returns its references as well
* Fixed bare repository handling - bare is now a property to prevent writing itSebastian Thiel2009-10-201-1/+1
|
* Implemneted IterableLists for refs, commits and remote objects including ↵Sebastian Thiel2009-10-191-0/+1
| | | | simple tests
* commit.count: is an instance method nowSebastian Thiel2009-10-191-3/+3
| | | | | repo: added head , tag and iter_trees methods for completeness changes: headlines now sorted chronologically
* remote: added tests for creation and removal, finishing the remote interfaceSebastian Thiel2009-10-191-1/+4
|
* Added configuration access including tests to remoteSebastian Thiel2009-10-191-16/+52
| | | | | 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/+186