/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 1904.2.2 19 years ago Martin Pool Merge invalid-parent fix from John 2.4 KB Diff Download File
test_bound_sftp.py 1908.6.11 19 years ago Robert Collins Remove usage of tree.pending_merges(). 14.3 KB Diff Download File
test_branch.py 1997.1.4 19 years ago Robert Collins ``bzr checkout --lightweight`` now operates on rea 24.5 KB Diff Download File
test_break_lock.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3.4 KB Diff Download File
test_http.py 1864.7.3 19 years ago John Arbash Meinel Test that the right thing happens when clone/sprou 2.6 KB Diff Download File
test_locking.py 1711.8.7 19 years ago John Arbash Meinel Renaming LockHelpers.py to lock_helpers.py 8.4 KB Diff Download File
test_parent.py 1904.2.2 19 years ago Martin Pool Merge invalid-parent fix from John 3.1 KB Diff Download File
test_permissions.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.8 KB Diff Download File
test_pull.py 1979.2.1 19 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 2.4 KB Diff Download File
test_update.py 1587.1.11 20 years ago Robert Collins Local commits appear to be working properly. 2.7 KB Diff Download File