~bzr-pqm/bzr/bzr.dev

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
..
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 1819.1.6 18 years ago Jan Balster added .perf-history to the ignore file 513 bytes Diff Download File
.rsyncexclude 1185.33.36 18 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 1711.2.122 18 years ago John Arbash Meinel Remove bogus entry from BRANCH.TODO 147 bytes Diff Download File
build-api 1185.33.32 18 years ago Martin Pool [merge] fix \t in commit messages 100 bytes Diff Download File
File bzr 1996.1.24 18 years ago John Arbash Meinel cherry-pick the inspect_for_copy changes 2.7 KB Diff Download File
bzr.ico 1861.2.16 18 years ago Alexander Belchenko new official bzr.ico 7.2 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 1861.2.7 18 years ago Alexander Belchenko merge bzr.dev 2.9 KB Diff Download File
HACKING 1996.1.26 18 years ago John Arbash Meinel Update HACKING and docstrings 20.5 KB Diff Download File
INSTALL 1185.16.80 19 years ago Martin Pool Update news and readme - better explanation of de 437 bytes Diff Download File
Makefile 1982.2.1 18 years ago Alexander Belchenko small but important fix for 'make installer' depen 2.7 KB Diff Download File
NEWS 1996.1.25 18 years ago John Arbash Meinel [merge] bzr.dev 2003 70.5 KB Diff Download File
NEWS.developers 1185.16.35 19 years ago Martin Pool - stub for revision properties 910 bytes Diff Download File
profile_imports.py 1996.1.22 18 years ago John Arbash Meinel Update --profile-imports to support the new lazy_i 5.1 KB Diff Download File
README 2001.1.1 18 years ago John Arbash Meinel merge bzr-0.10 into bzr.dev 799 bytes Diff Download File
setup.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 6.6 KB Diff Download File
TODO 1185.82.134 18 years ago Aaron Bentley Merge from bzr.dev 15.7 KB Diff Download File