/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
..
tree_creator 1908.2.16 19 years ago John Arbash Meinel Move all the new TreeCreator classes into separate Diff
__init__.py 2068 19 years ago Canonical.com Patch Queue Manager (mbp) benchmark updates 8.4 KB Diff Download File
bench_add.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.1 KB Diff Download File
bench_bench.py 1955.3.16 19 years ago John Arbash Meinel Switch over to Transport.append_bytes or append_fi 4 KB Diff Download File
bench_bundle.py 1908.10.1 19 years ago Carl Friedrich Bolz Fix make_kernel_like_tree_committed, which does no 11.9 KB Diff Download File
bench_cache_utf8.py 1911.2.3 19 years ago John Arbash Meinel Moving everything into a new location so that we c 7.2 KB Diff Download File
bench_checkout.py 1908.2.18 19 years ago John Arbash Meinel I think it is actually better as simple helper fun 1 KB Diff Download File
bench_commit.py 1908.3.10 19 years ago Carl Friedrich Bolz merge bzr.dev 3.1 KB Diff Download File
bench_info.py 1908.3.15 19 years ago Carl Friedrich Bolz Fix problems pointed out by John: * Actually ben 1.3 KB Diff Download File
bench_inventory.py 1757.2.16 19 years ago Robert Collins Review comments. 1.3 KB Diff Download File
bench_log.py 1908.2.7 19 years ago John Arbash Meinel Update the benchmarks to actually use the cached t 3.2 KB Diff Download File
bench_osutils.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.2 KB Diff Download File
bench_rocks.py 2063.1.1 19 years ago John Arbash Meinel spin off startup benchmarks to their own branch 936 bytes Diff Download File
bench_sftp.py 2029.1.5 19 years ago Martin Pool merge import fix 3.2 KB Diff Download File
bench_startup.py 2063.1.1 19 years ago John Arbash Meinel spin off startup benchmarks to their own branch 3.1 KB Diff Download File
bench_status.py 1908.3.11 19 years ago Carl Friedrich Bolz Use the proper functions for constructing trees in 1.6 KB Diff Download File
bench_transform.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.4 KB Diff Download File
bench_workingtree.py 1908.2.18 19 years ago John Arbash Meinel I think it is actually better as simple helper fun 2 KB Diff Download File
bench_xml.py 1934.1.18 19 years ago John Arbash Meinel Caching revision_ids costs us a little (512 vs 475 3.5 KB Diff Download File