lp:~vila/bzr/py26bzr

Created by Vincent Ladeuil and last modified
Get this branch:
bzr branch lp:~vila/bzr/py26bzr
Only Vincent Ladeuil can upload to this branch. If you are Vincent Ladeuil please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Vincent Ladeuil
Project:
Bazaar
Status:
Development

Recent revisions

2945. By Vincent Ladeuil

Fix last failing test for python-2.6 (there are still some deprecation warnings).

* bzrlib/diff.py:
(DiffSymlink.diff_symlink): Fix missing encoding making python-2.6
shows a u'new' instead of just 'new'.

2944. By Vincent Ladeuil

Trivially fix import order (merge side effect ?).

* bzrlib/repofmt/pack_repo.py:
Fix import order.

2943. By Vincent Ladeuil

Catch spurious exceptions when SocketServer is shut down.

* bzrlib/tests/test_http.py:
(TestProxyHttpServer.proxied_in_env,
TestProxyHttpServer.not_proxied_in_env): Revert expected and
actual expressions to conform with bzr rules.

* bzrlib/tests/http_server.py:
(HttpServer.__repr__): Added for debug purposes.
(HttpServer._http_start): Catch spurious exceptions when running
with python-2.6.

2942. By Vincent Ladeuil

Some more fixes.

* bzrlib/weave.py:
(Weave.__init__, Weave.__init__): Don't pass parameters to
object__init__.

* bzrlib/tests/test_sftp_transport.py:
(Test_SFTPReadvHelper.checkGetRequests): Require paramiko.

2941. By Vincent Ladeuil

Better handling of http smart medium sharing.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase.get_smart_medium): Cache the medium do avoid
probing for smart server repeatedly.
(SmartClientHTTPMedium.__init__): Keep a weak reference on the
http transport to avoid circular references.
(SmartClientHTTPMedium.send_http_smart_request): Handle the weak
reference.

2940. By Vincent Ladeuil

Don't use multiple inheritance for http smart medium.

* bzrlib/transport/__init__.py:
(Transport.__init__): Don't call super().__init__.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase): Get rid of multiple inheritance from
medium.SmartClientMedium.
(HttpTransportBase.get_smart_medium): Build a smart medium on
request.
(SmartClientHTTPMedium): New class. Transfer get_request,
should_probe and send_http_smart_request from HttpTransportBase.

* bzrlib/transport/__init__.py:
(Transport.__init__): Don't pass parameters to object__init__.

* bzrlib/tests/test_http.py:
(TestHTTPConnections.test_get_smart_medium): Deleted.

2939. By Vincent Ladeuil

Delete useless import.

* bzrlib/btree_index.py:
Delete useless import.

2938. By Vincent Ladeuil

Fix U32, LOWU32 disapearance in python-2.6.

* bzrlib/tuned_gzip.py:
(U32, LOWU32): These functions are gone in python-2.6, they are
trivial enough to be copied as is.

2937. By Vincent Ladeuil

Update some fixes so the test suite passes again with python-2.5.

* bzrlib/tests/test_knit.py:
Fix sha calls.

* bzrlib/tests/http_utils.py:
Oops, typo during conflict resolution.

* bzrlib/repofmt/pack_repo.py:
(ReconcilePacker._copy_text_texts): Fix some imports.

2936. By Vincent Ladeuil

merge bzr.dev

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers