/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
..
bzrlib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 18 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 3696.3.10 17 years ago Robert Collins Review feedback. 963 bytes Diff Download File
.rsyncexclude 1185.33.36 20 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 3015.4.13 17 years ago Daniel Watkins Cleaned out BRANCH.TODO. 150 bytes Diff Download File
File bzr 3697.4.1 17 years ago John Arbash Meinel Merge in bzr 1.7rc1, open 1.8 for development 5.2 KB Diff Download File
bzr.ico 3688.3.3 17 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 19 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 2911.6.1 18 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 2.9 KB Diff Download File
INSTALL 2696.2.4 18 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 3653.1.1 17 years ago Robert Collins Move testing.txt to be with the other developers d 8.4 KB Diff Download File
NEWS 3732.1.1 17 years ago Ian Clatworthy fix bzr st -rbranch:path-to-branch (Lukas Lalinsky 281 KB Diff Download File
profile_imports.py 3696.1.1 17 years ago John Arbash Meinel Use the right timing function on win32 5.5 KB Diff Download File
README 3286 17 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 3696.3.11 17 years ago Robert Collins NEWS conflicts FTW. 21.1 KB Diff Download File
TODO 2382.2.5 18 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File