/brz/remove-bazaar

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

Better (but still incomplete) design for bogus servers.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractHTTPHandler): Add 'Accept: */*' again to default headers
until I fully understand why and when it's needed or not (curl add
it if no Accept header is present).

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._curl_perform): CURLE_GOT_NOTHING may be
considered as a ConnectionError, inspection of curl code reveals
that the case is sufficiently rare and low level related to not be
considered an http error per se.

* bzrlib/transport/http/__init__.py:
(WallHttpServer): Deleted.

* bzrlib/tests/test_http.py:
(TestBogusServer): Factor out the tests common to the bogus
servers.

* bzrlib/tests/__init__.py:
(TestCaseWithTransport.create_transport_server,
TestCaseWithTransport.create_transport_readonly_server): New
methods, allows test cases to specify the transport servers
without defining useless classes.
(TestCaseWithTransport.get_readonly_server): Use
create_transport_readonly_server.
(TestCaseWithTransport.get_server): Use create_transport_server.

* bzrlib/tests/HTTPTestUtil.py:
(TestCaseWithWebserver): Fix typo in doc string.
(TestCaseWithWallserver): Deleted.
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 1874.1.15 19 years ago Carl Friedrich Bolz Merge bzr.dev. 8.6 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_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.4.14 19 years ago John Arbash Meinel Restore comment about using a memory server for .b 3.1 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 1752.1.6 19 years ago Aaron Bentley Rename run_bzr_external -> run_bzr_subprocess, add 937 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_status.py 1908.2.18 19 years ago John Arbash Meinel I think it is actually better as simple helper fun 1.3 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