/brz/remove-bazaar

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

Connection sharing, with redirection. without authentification.

* bzrlib/transport/http/_urllib.py:
(Request): Deleted. The _urllib2 version is shiniest.
(HttpTransport_urllib): Share connections.
(HttpTransport_urllib._perform): New method.
(HttpTransport_urllib._get): Takes the _urllib2_wrappers into
account.
(HttpTransport_urllib._get_url_impl): Deleted.
(HttpTransport_urllib._head): New method.
(HttpTransport_urllib.has): Takes the _urllib2_wrappers into
account.
(HttpTransport_urllib.copy_to, HttpTransport_urllib.move,
HttpTransport_urllib.delete): Deleted. Were carbon copies of
HttpTransportBase.

* bzrlib/tests/test_http.py:
(TestHttpConnections_urllib.test_has_on_bogus_host): The timeout
was too high, at least on Mac OS X 10.3 the test was taking a
whole *minute*. Also, the new implementation raise a nice
ConnectionError.

* bzrlib/errors.py:
(ConnectionError): Don't don't repeat ConnectionError.

* bzrlib/transport/http/_urllib2_wrappers.py: 
New file. Wrappers around urllib2 framework.
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 1711.2.134 19 years ago John Arbash Meinel Add a couple more sftp benchmarks 3.1 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