/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
..
__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 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 14.1 KB Diff Download File
test_branch.py 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 25.3 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 19 years ago Robert Collins Local commits appear to be working properly. 2.7 KB Diff Download File