/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
..
__init__.py 1913.1.1 19 years ago John Arbash Meinel Fix bug #55783 Update XML serializer to properly r 2.4 KB Diff Download File
test_break_lock.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.2 KB Diff Download File
test_commit_builder.py 1910.2.47 19 years ago Aaron Bentley Merge bzr.dev 4.2 KB Diff Download File
test_fileid_involved.py 1910.2.47 19 years ago Aaron Bentley Merge bzr.dev 11 KB Diff Download File
test_reconcile.py 1910.2.23 19 years ago Aaron Bentley Fix up test cases that manually construct inventor 14.4 KB Diff Download File
test_repository.py 1910.2.47 19 years ago Aaron Bentley Merge bzr.dev 24.6 KB Diff Download File
test_revision.py 1913.1.5 19 years ago John Arbash Meinel fix test name 4.3 KB Diff Download File