aboutsummaryrefslogtreecommitdiff
path: root/test/git/test_remote.py
AgeCommit message (Collapse)Author
2010-11-15Optimized test-decorators, by completely removing with_bare_rw_repo, which ↵Sebastian Thiel
was mainly copy-paste from with_rw_repo, what a shame
2010-10-15Fixed bug in ↵Sebastian Thiel
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
2010-06-29Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel
the submodules's naming conventions
2010-06-28All tests adjusted to work with the changed internal sha representationSebastian Thiel
2010-03-21test system: renamed a few test methods in test_remote which could been ↵Sebastian Thiel
mistaken for disabled tests, although they are actually called by the test cases as utility functions
2010-03-04Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel
2010-01-12Implemented RemoteProgress parsing for git-fetch, which might become ↵Sebastian Thiel
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
2009-12-09config: fixed incorrect handling of default value in get_valueSebastian Thiel
remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
2009-12-03repo: renamed directories to more descriptive identifiers and made them ↵Sebastian Thiel
safer to use in case of bare repositories
2009-11-24PushInfo: added summary field to help providing user readable informationSebastian Thiel
Index.checkout: fixed bug in exception creator function
2009-11-23remote.fetch: fetchInfo would not provide old_commit information in case of ↵Sebastian Thiel
fast_forwards although. Renamed cumbersome 'commit_before_forced_updated' attribute to 'old_commit' to be en par with PushInfo
2009-11-06test_remote: fixed test which assumed existance of local master tracking ↵Sebastian Thiel
branch, it will now create it if necessary
2009-11-04helpers: fixed and improved test repo decorators to use the new ↵Sebastian Thiel
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
2009-11-03refs: iter_items now imlemented natively for additional performance. We did ↵Sebastian Thiel
not implement the crazy sorting feature found in git-for-each-ref though
2009-11-03Finished all push tests I could think of so far. More error cases should be ↵Sebastian Thiel
studied, but they would be hard to 'produce'
2009-11-03Intermediate commit with a few added and improved tests as well as many fixesSebastian Thiel
2009-11-02Implemented PushProgress and PushInfo class including basic test cases. Now ↵Sebastian Thiel
many more test-cases need to be added to be sure we can truly deal with everything git throws at us
2009-10-28Added frame for push testing and push implemenationSebastian Thiel
2009-10-28Another attempt to make fetch emit progress information, but in fact its ↵Sebastian Thiel
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
2009-10-28Tried to use shallow repository - this works in case it is remote, but ↵Sebastian Thiel
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
2009-10-28Fixed bug when listing remotes - it was based on references which is ↵Sebastian Thiel
incorrect as it cannot always work
2009-10-28FetchInfo class is not a subclass of Remote class anymore, as more classes ↵Sebastian Thiel
are to be added it cluttered up the view and made things more complex as well
2009-10-28IterableList: added support for prefix allowing remote.refs.master ↵Sebastian Thiel
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
2009-10-28tag handling tests finished, unfortunately there is not yet a rejected case, ↵Sebastian Thiel
but it will assuambly follow with the push tests
2009-10-27Implemented handling of FETCH_HEAD and tags, some test cases still missing ↵Sebastian Thiel
dealing with deletion and movements of remote tags ( which in fact is discouraged, but we should be able to deal with it, shouldnt we ;)
2009-10-27Added special cases to test that shows we cannot yet:Sebastian Thiel
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
2009-10-27Added remote stale_refs property including test, tested new remote branch ↵Sebastian Thiel
handling and deletion of stale remote branches
2009-10-27Added non-fast forward test case, fixed parsing issue caused by initial line ↵Sebastian Thiel
stripping
2009-10-27implemented test for rejection handling and fixed a bug when parsing remote ↵Sebastian Thiel
reference paths
2009-10-27Added testing frame for proper fetch testing to be very sure this works as ↵Sebastian Thiel
expected. Plenty of cases still to be tested
2009-10-27put _make_file helper method into TestBase classSebastian Thiel
remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
2009-10-22Fixed decorator issue that would cause a function to be passed even though ↵Sebastian Thiel
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.
2009-10-21remote: Added fetch, pull, push methods to the interface to make these ↵Sebastian Thiel
operations more convenient, like repo.remotes.origin.fetch
2009-10-19Implemneted IterableLists for refs, commits and remote objects including ↵Sebastian Thiel
simple tests
2009-10-19repo.remote method addedSebastian Thiel
CHANGES updated to carry information about remotes and config
2009-10-19remote: added tests for creation and removal, finishing the remote interfaceSebastian Thiel
2009-10-19remote: base tests succeed nowSebastian Thiel
2009-10-19Added configuration access including tests to remoteSebastian Thiel
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
2009-10-19Added remote module and test cases - about to implement remote option handlingSebastian Thiel