/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
..
doc_generate 1534.7.158 19 years ago Aaron Bentley Merged John Meinel's integration Diff
win32 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 Diff
__init__.py 1534.7.158 19 years ago Aaron Bentley Merged John Meinel's integration Empty Diff Download File
File biobench.py 1185.44.26 20 years ago Martin Pool Make biobench directly executable 2.3 KB Diff Download File
capture_tree.py 1393.1.39 20 years ago Martin Pool - tweak capture_tree formatting 1 KB Diff Download File
convertfile.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.1 KB Diff Download File
convertinv.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2 KB Diff Download File
history2revfiles.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.8 KB Diff Download File
http_client.py 1963.2.6 19 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 15 KB Diff Download File
riodemo.py 1185.47.1 20 years ago Martin Pool [broken] start converting basic_io to more rfc822- 1.9 KB Diff Download File
File rst2html.py 1928.2.1 19 years ago Alexander Belchenko New target to produce html docs to upload on serve 643 bytes Diff Download File
File trace-revisions 1185.16.154 20 years ago Martin Pool Add trace-revisions utility, which can recover los 320 bytes Diff Download File
weavebench.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.6 KB Diff Download File
weavemerge.sh 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 584 bytes Diff Download File