/brz/remove-bazaar

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

Ensure that all transports close their underlying connection.

* bzrlib/transport/sftp.py:
(SFTPTransport.disconnect): Close the sftp connection.

* bzrlib/transport/remote.py:
(RemoteTransport.disconnect): The medium can be None.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib.disconnect): Close the http connection.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport.disconnect): Close the Curl object.

* bzrlib/transport/http/__init__.py:
(SmartClientHTTPMedium.disconnect): Disconnect the backing http
transport.

* bzrlib/transport/gio_transport.py:
(GioTransport.disconnect): Hmm, nothing obvious here.

* bzrlib/transport/ftp/__init__.py:
(FtpTransport.disconnect): Close the ftplib connection.

* bzrlib/transport/__init__.py:
(Transport.disconnect): A do-nothing implementation by default.
(ConnectedTransport.disconnect): A new required method.

* bzrlib/tests/test_smart_transport.py:
(TestSmartTCPServer.test_get_error_unexpected)
(SmartTCPTests.start_server): Revert to SmartServer waiting for a
better way to capture the connections.

* bzrlib/tests/per_transport.py:
(TransportTests.test_connection_sharing): 'None' is better than
'object()' for a dummy connection.

* bzrlib/tests/__init__.py:
(TestCase._check_leaked_threads): Don't fail at first leak or all
subsequent tests will fail too. A more elaborate scheme would be
to use threading.enumerate() but that's a big hammer with little
benefits as long as there exist "valid" leaks (like the smart
server).
(TestCaseWithMemoryTransport.setUp): Make sure we call
transport.disconnect() for all created transports.

Filename Latest Rev Last Changed Committer Comment Size
..
developers 2481.1.1 18 years ago Robert Collins Move HACKING to docs/developers/HACKING and adjust Diff
en 2691.1.1 18 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
es 3405.2.1 17 years ago Martin Albisetti * Added directory structure for docs en spanish Diff
ja 4634.99.1 16 years ago Naoki INADA import doc-ja rev90 Diff
ru 3638.6.1 17 years ago Alexey Shtokalo Initial commit for russian version of documents. Diff
Bazaar-Logo-For-Manuals.png 4634.38.1 16 years ago Ian Clatworthy first cut at pdf docs via sphinx 3.7 KB Diff Download File
default.css 4853.1.1 16 years ago Patrick Regan Removed trailing whitespace from files in doc dire 2 KB Diff Download File
index.es.txt 5053.2.1 16 years ago Parth Malwankar updated linkes for top level doc site and plugin-d 1.2 KB Diff Download File
index.ja.txt 5053.2.1 16 years ago Parth Malwankar updated linkes for top level doc site and plugin-d 2.9 KB Diff Download File
index.ru.txt 5053.2.1 16 years ago Parth Malwankar updated linkes for top level doc site and plugin-d 2.5 KB Diff Download File
index.txt 5053.2.1 16 years ago Parth Malwankar updated linkes for top level doc site and plugin-d 1.7 KB Diff Download File
news-template.txt 3936.1.2 17 years ago Martin Pool Bump version to 1.12 and add news template 169 bytes Diff Download File