/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 3638.3.11 17 years ago Vincent Ladeuil Fix failing tests by avoiding unicode combinig enc 15.4 KB Diff Download File
test_annotate_iter.py 3224.1.28 17 years ago John Arbash Meinel Add some direct tests for Tree.annotate_iter 2.2 KB Diff Download File
test_get_file_mtime.py 2405.3.1 18 years ago John Arbash Meinel Add some tests for get_file_mtime, and clean up ot 1.6 KB Diff Download File
test_get_root_id.py 2946.3.4 18 years ago John Arbash Meinel Comment from Martin: Use 'make_tree_*' not 'get_tr 1.5 KB Diff Download File
test_get_symlink_target.py 2949.5.1 18 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 1.7 KB Diff Download File
test_inv.py 3363.12.1 17 years ago Aaron Bentley Remove new implementation of paths2ids, implement 4.9 KB Diff Download File
test_iter_search_rules.py 3630 17 years ago Canonical.com Patch Queue Manager (robertc) Disable .bzrrules from being read from t 3 KB Diff Download File
test_list_files.py 2255.2.71 19 years ago John Arbash Meinel Add a test for list_files, and implement it for Di 2.1 KB Diff Download File
test_path_content_summary.py 2776.1.7 18 years ago Robert Collins * New method on ``bzrlib.tree.Tree`` ``path_conten 3.9 KB Diff Download File
test_revision_tree.py 1908.11.5 19 years ago John Arbash Meinel [merge] bzr.dev 2240 1.2 KB Diff Download File
test_test_trees.py 3638.3.12 17 years ago Vincent Ladeuil Fix test missed in the previous commit (--starting 13.8 KB Diff Download File
test_tree.py 3363.13.5 17 years ago Aaron Bentley Merge with paths2ids 8.8 KB Diff Download File
test_walkdirs.py 3363.9.10 17 years ago Aaron Bentley Handle dangling file-ids correctly 5.2 KB Diff Download File