/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
..
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
bazaar-vcs.org.kid 2691.1.17 18 years ago Ian Clatworthy Fix pretty doc generation so works for all html do 18.2 KB Diff Download File
default.css 3211.7.3 18 years ago Andrew Bennetts Add a comment to the new CSS. 2.1 KB Diff Download File
index.es.txt 3405.2.6 17 years ago Martin Albisetti Added spanish index 1.2 KB Diff Download File
index.txt 3464.3.9 17 years ago Martin Pool Add plugin and integration guides to doc indexes 1.4 KB Diff Download File