~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to .rsyncexclude

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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*.pyc
 
2
*.pyo
 
3
*~
 
4
# arch can bite me
 
5
{arch}
 
6
.arch-ids
 
7
,,*
 
8
++*
 
9
/doc/*.html
 
10
*.tmp
 
11
bzr-test.log
 
12
[#]*#
 
13
.#*
 
14
testrev.*
 
15
/tmp
 
16
# do want this after all
 
17
+ CHANGELOG
 
18
/build
 
19
test*.tmp
 
20
.*.swp
 
21
*.orig
 
22
.*.orig
 
23
.bzr-shelf*