/brz/remove-bazaar

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

Don't use multiple inheritance for http smart medium since we
can't pass parameters to object.__init__ (and bzr used that trick
prior to python-2.6 to implement it).

* bzrlib/tests/test_http.py:
(TestHTTPConnections.test_get_smart_medium): Deleted.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase): Get rid of multiple inheritance from
medium.SmartClientMedium.
(HttpTransportBase.get_smart_medium): Build the medium on demand
but cache it to avoid probing for smart server repeatedly.
(SmartClientHTTPMedium): New class. Transfer get_request,
should_probe and send_http_smart_request from
HttpTransportBase. Keep a weak reference on the http transport to
avoid circular references.
(SmartClientHTTPMedium.send_http_smart_request): Handle the weak
reference.

* bzrlib/transport/remote.py:
(RemoteTransport): Doesn't inherit from SmartClientMedium anymore.

* bzrlib/transport/__init__.py:
(Transport.__init__): Don't pass parameters to object.__init__.


Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 3689.1.4 17 years ago John Arbash Meinel Doc strings that reference repository_implementati 3.9 KB Diff Download File
test_add_inventory.py 3221.12.11 17 years ago Robert Collins Fix failing tests post-VersionedFiles merge. 1.8 KB Diff Download File
test_add_revision.py 3474.2.1 17 years ago Martin Pool Merge and cleanup pre-external-reference-repositor 1.9 KB Diff Download File
test_add_signature_text.py 3474.2.1 17 years ago Martin Pool Merge and cleanup pre-external-reference-repositor 1.9 KB Diff Download File
test_all_revision_ids.py 3474.2.1 17 years ago Martin Pool Merge and cleanup pre-external-reference-repositor 2.6 KB Diff Download File
test_break_lock.py 3474.2.1 17 years ago Martin Pool Merge and cleanup pre-external-reference-repositor 2 KB Diff Download File
test_check.py 3474.2.1 17 years ago Martin Pool Merge and cleanup pre-external-reference-repositor 1.7 KB Diff Download File