/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Finish sftp refactoring. Test suite passing.

* bzrlib/transport/sftp.py:
(clear_connection_cache): Deprecated.
(_sftp_connect, _sftp_connect_uncached): Deleted.
(SFTPTransport.__init__): Simplified.
(SFTPTransport._create_connection): New method. Copied from
_sftp_connect_uncached
(SFTPTransport._get_sftp): New method. Ensures that the connection
is established.
(SFTPTransport.clone): Deleted.
(SFTPTransport.has, SFTPTransport.get, SFTPTransport.readv,
SFTPTransport._put,
SFTPTransport._put_non_atomic_helper._open_and_write_file,
SFTPTransport._mkdir, SFTPTransport.append_file,
SFTPTransport.rename, SFTPTransport._rename_and_overwrite,
SFTPTransport.delete, SFTPTransport.rmdir, SFTPTransport.stat):
Use _get_sftp.

* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_connection_error): Simplified now that sftp
does not connection on construction.

* bzrlib/tests/test_sftp_transport.py:
(SFTPLockTests.test_sftp_locks): Delete test_multiple_connections.
(FakeSFTPTransport): Deleted.
(SFTPNonServerTest.test_parse_url_with_home_dir,
SFTPNonServerTest.test_relpath,
SSHVendorBadConnection.test_bad_connection_paramiko): Delete the
from_transport parameter as it's not needed anymore.
(SFTPLatencyKnob.test_latency_knob_slows_transport,
SFTPLatencyKnob.test_default): Force connection by issuing a
request.

Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2418.5.14 18 years ago John Arbash Meinel clean up ASCII revision graph art. 5.7 KB Diff Download File
test_bound_sftp.py 2018.17.1 18 years ago Andrew Bennetts Merge hpss-miscellany. 12.9 KB Diff Download File
test_branch.py 2418.5.11 18 years ago John Arbash Meinel [merge] bzr.dev 2447 27.2 KB Diff Download File
test_break_lock.py 2052.3.1 19 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 3.4 KB Diff Download File
test_commit.py 2246.1.3 18 years ago Robert Collins New branch hooks: post_push, post_pull, post_commi 4.1 KB Diff Download File
test_create_checkout.py 2018.5.122 18 years ago Robert Collins More Branch implementation test passing foo. 3.2 KB Diff Download File
test_get_revision_id_to_revno_map.py 2418.5.13 18 years ago John Arbash Meinel Remove revision_id_to_dotted_revno, because it isn 4.5 KB Diff Download File
test_hooks.py 2309.4.10 18 years ago John Arbash Meinel (fixed) Fix the last few tests that were explicitl 2.7 KB Diff Download File
test_http.py 2018.5.113 18 years ago Robert Collins Test only fixes from the ported-to-bzr.dev test-co 3.5 KB Diff Download File
test_last_revision_info.py 2249.4.1 18 years ago Wouter van Heyst New Branch.last_revision_info method, this is bein 1.4 KB Diff Download File
test_locking.py 2018.5.166 18 years ago Andrew Bennetts Small changes in response to Aaron's review. 17.5 KB Diff Download File
test_parent.py 2018.5.167 18 years ago Andrew Bennetts Various changes in response to John's review. 2.9 KB Diff Download File
test_permissions.py 2018.5.99 18 years ago Andrew Bennetts Don't test mode setting for remote branches becaus 3.1 KB Diff Download File
test_pull.py 2477.1.2 18 years ago Martin Pool Rename push/pull back to 'run_hooks' (jameinel) R 8 KB Diff Download File
test_push.py 2477.1.9 18 years ago Martin Pool Review cleanups from John, mostly docs 10.2 KB Diff Download File
test_revision_history.py 2375.1.5 18 years ago Andrew Bennetts Deal with review comments from Robert: * Add my 6.5 KB Diff Download File
test_revision_id_to_revno.py 2418.5.4 18 years ago John Arbash Meinel Included a test for revision_id=None 1.6 KB Diff Download File
test_tags.py 2388.1.12 18 years ago Alexander Belchenko direct test for tags.get_reverse_tag_dict() 7 KB Diff Download File
test_uncommit.py 2246.1.3 18 years ago Robert Collins New branch hooks: post_push, post_pull, post_commi 3.9 KB Diff Download File
test_update.py 2052.3.2 19 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 2.7 KB Diff Download File