/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Fix #177643 by making pycurl handle url-embedded credentials again.

* bzrlib/tests/test_http.py:
Define proper tests for pycurl instead of replacing the urllib
ones (a correct refactoring is already under work elsewhere). Add
KnownFailures to document limitations in the pycurl
implementation (cant prompt for password, no support for
authentication.conf, cant handle a nonce change for digest auth).
(TestAuth.test_no_prompt_for_password_when_using_auth_config): Fix
typo.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase._remote_path): Don't mention user and passwords
in urls since bothe implementations handle credentials separately.
(HttpTransportBase._create_auth): Share default credentials
creation between both implementation.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._get_curl): Save user provided credentials.
(PyCurlTransport._set_curl_options): Set USERPWD explicitely from
credentials if any have been provided in the url.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._remote_path): Deleted, pushed to base class.
(HttpTransport_urllib._perform): Simplified.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler._build_password_prompt): Fix typo.
Filename Latest Rev Last Changed Committer Comment Size
..
serializer 1185.82.3 20 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2485.8.35 18 years ago Vincent Ladeuil Fix pull multiple connections. * bzrlib/builtins. 3.6 KB Diff Download File
apply_bundle.py 2520.4.6 18 years ago Aaron Bentley Get installation started 2.8 KB Diff Download File
bundle_data.py 2858.2.1 18 years ago Martin Pool Remove most calls to safe_file_id and safe_revisio 29.2 KB Diff Download File
commands.py 2911.6.1 18 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 3.8 KB Diff Download File