summaryrefslogtreecommitdiff
path: root/lib/git/remote.py
Commit message (Collapse)AuthorAgeFilesLines
* moved all contents, incl. submodule gitdb, up to the root directorySebastian Thiel2010-11-211-719/+0
|
* remote: parsing of fetch information now reacts to fatal errors. Previously ↵Sebastian Thiel2010-11-191-0/+2
| | | | it would just bump into an assertion
* Updated tests and implementation to verify functionality for handling ↵Sebastian Thiel2010-11-181-0/+5
| | | | submodule removals, as well as url changes
* remote: added methods to set and query the tracking branch status of normal ↵Sebastian Thiel2010-11-161-5/+1
| | | | | | | heads, including test. Config: SectionConstraint was updated with additional callable methods, the complete ConfigParser interface should be covered now Remote: refs methods is much more efficient now as it will set the search path to the directory containing the remote refs - previously it used the remotes/ base directory and pruned the search result
* submodule: Fleshed out interface, and a partial test which is not yet ↵Sebastian Thiel2010-11-151-26/+4
| | | | usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository
* Fixed bug in ↵Sebastian Thiel2010-10-151-1/+1
| | | | | | http://byronimo.lighthouseapp.com/projects/51787/tickets/44-remoteref-fails-when-there-is-character-in-the-name using supplied patch ( which was manually applied ). Fixed slightly broken test for remote handling
* index: Fixed bug which caused incorrect separators in output files of the ↵Sebastian Thiel2010-07-191-1/+8
| | | | | | return value remote: fixed evil bug that was caused by some inconsistency of python when __getattr__ and __slots__ are invovled - namely it calles getattr before checking for a slot of the same name, in an alternating fashion
* Addiitonal win32 fixes related to, guess it, backslashes in pathsSebastian Thiel2010-07-151-4/+4
|
* Moved test-centric windows specific fix into the class itself to assure this ↵Sebastian Thiel2010-07-111-0/+11
| | | | kind of issue doesn't popup for anyone
* Adjusted previous object creators to use the rev_parse method directly. ↵Sebastian Thiel2010-07-071-1/+1
| | | | rev_parse could be adjusted not to return Objects anymore, providing better performance for those who just want a sha only. On the other hand, the method is high-level and should be convenient to use as well, its a starting point for more usually, hence its unlikely to call it in tight loops
* Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel2010-06-291-2/+2
| | | | the submodules's naming conventions
* Updated and fixed sphinx API docs, which included one quick skim-throughSebastian Thiel2010-06-291-10/+17
|
* Diff: fixed bug that caused a string to end up as a blob modeSebastian Thiel2010-06-291-1/+1
|
* All tests adjusted to work with the changed internal sha representationSebastian Thiel2010-06-281-2/+5
|
* Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel2010-06-251-763/+690
| | | | | | | use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
* 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