/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 2018.5.96 18 years ago Andrew Bennetts Merge from bzr.dev, resolving the worst of the sem 3.2 KB Diff Download File
test_break_lock.py 2052.3.2 19 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 2.2 KB Diff Download File
test_commit_builder.py 2018.5.141 18 years ago Andrew Bennetts Merge supports-rich-root branch. 5.8 KB Diff Download File
test_fileid_involved.py 2018.5.116 18 years ago Robert Collins Commit final test-case-cleanups branch. 12.1 KB Diff Download File
test_iter_reverse_revision_history.py 2255.2.234 18 years ago Robert Collins Merge bzr.dev. 5.8 KB Diff Download File
test_reconcile.py 2018.5.113 18 years ago Robert Collins Test only fixes from the ported-to-bzr.dev test-co 15 KB Diff Download File
test_repository.py 2018.5.149 18 years ago Andrew Bennetts Merge from bzr.dev 29.9 KB Diff Download File
test_revision.py 1913.1.5 19 years ago John Arbash Meinel fix test name 4.3 KB Diff Download File
test_statistics.py 2258.1.2 18 years ago Robert Collins New version of gather_stats which gathers aggregat 3.7 KB Diff Download File