/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 3251.4.3 17 years ago Aaron Bentley More renames and cleanups 8.2 KB Diff Download File
account.py 2980 18 years ago Canonical.com Patch Queue Manager (robertc) Improved lp:/// URL support for the Laun 2.1 KB Diff Download File
lp_directory.py 3373.1.1 17 years ago John Arbash Meinel Trivial warning message update when user has not r 4.3 KB Diff Download File
lp_registration.py 3376.2.4 17 years ago Martin Pool Remove every assert statement from bzrlib! Depend 9.6 KB Diff Download File
test_account.py 2898.3.10 18 years ago James Henstridge Make LaunchpadAccountTests a TestCaseInTempDir so 3.4 KB Diff Download File
test_lp_directory.py 3251.4.3 17 years ago Aaron Bentley More renames and cleanups 8.1 KB Diff Download File
test_lp_service.py 3221.4.2 18 years ago Martin Pool Add in thumpers tests for selection of the right L 3.4 KB Diff Download File
test_register.py 3376.2.15 17 years ago Martin Pool Fix assertions in Launchpad registration tests 13.7 KB Diff Download File