/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 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 51 bytes Diff Download File
bazaar.url 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 109 bytes Diff Download File
bzr-win32-bdist-postinstall.py 2946.2.1 18 years ago Alexander Belchenko windows python-based installer: shortcut for unins 4.6 KB Diff Download File
bzr.iss.cog 3638.1.1 17 years ago Alexander Belchenko remove out-of-date options from Windows standalone 11.2 KB Diff Download File
bzr_postinstall.py 2245.4.11 19 years ago Alexander Belchenko Small fixes after John's review; added NEWS entry 11.9 KB Diff Download File
file_version.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 909 bytes Diff Download File
info.txt 2070.2.2 19 years ago Alexander Belchenko win32 installer: make short info page instead of f 238 bytes Diff Download File
ostools.py 2691.1.16 18 years ago Ian Clatworthy Ensure doc hierarchy is setup correctly for the Wi 2.7 KB Diff Download File
run_script.py 3544.1.1 17 years ago Ian Clatworthy fix how cog.py is invoked on Windows (Mark Hammond 689 bytes Diff Download File
start_bzr.bat 2245.4.7 19 years ago Alexander Belchenko standalone installer: win98 support 959 bytes Diff Download File