/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-17 13:58:01 UTC
  • mto: (2145.1.1 keepalive)
  • Revision ID: v.ladeuil+lp@free.fr-20061017135801-3fb63746e0ea8fcf
Fix #62276 and #62029 by providing a more robust http range handling.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib.__init__): Forget about _accept_ranges, the
base class handles that.
(HttpTransport_urllib._get): Takes _range_hint into account.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport): Doc fix. Hey ! Urllib had shrunk the gap here !
(PyCurlTransport._get_ranged): Takes _range_hint into account.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase.__init__): Add _range_hint attribute. Give it
to the clones too.
(HttpTransportBase.readv): If we don't get the data we need, try
simpler requests.
(HttpTransportBase.attempted_range_header): Build the range header
taking into account what we had learned from the server
capabilites in previous requests.
(HttpTransportBase.range_header): Small doc fix.

* bzrlib/tests/test_http.py:
(TestPost._test_post_body_is_received): Oops, miss that one during
the merge. UnsupportedProtocol should be prefixed by 'errors.'.
(TestRangeRequestServer.setUp): Use build_tree_contents, not
build_tree or we don't end up with the content we need.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 1904.2.2 19 years ago Martin Pool Merge invalid-parent fix from John 2.4 KB Diff Download File
test_bound_sftp.py 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 14.1 KB Diff Download File
test_branch.py 2004.1.25 19 years ago v.ladeuil+lp at free Shuffle http related test code. Hopefully it ends 25.3 KB Diff Download File
test_break_lock.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3.4 KB Diff Download File
test_http.py 2004.1.25 19 years ago v.ladeuil+lp at free Shuffle http related test code. Hopefully it ends 2.6 KB Diff Download File
test_locking.py 1711.8.7 19 years ago John Arbash Meinel Renaming LockHelpers.py to lock_helpers.py 8.4 KB Diff Download File
test_parent.py 1904.2.2 19 years ago Martin Pool Merge invalid-parent fix from John 3.1 KB Diff Download File
test_permissions.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.8 KB Diff Download File
test_pull.py 1979.2.1 19 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 2.4 KB Diff Download File
test_update.py 1587.1.11 19 years ago Robert Collins Local commits appear to be working properly. 2.7 KB Diff Download File