/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
..
__init__.py 3031.1.1 18 years ago jml at canonical Expand the documentation on lp:// URLs and mention 7.3 KB Diff Download File
account.py 2980 18 years ago Canonical.com Patch Queue Manager (robertc) Improved lp:/// URL support for the Laun 2.1 KB Diff Download File
lp_indirect.py 3031.2.4 18 years ago jml at canonical Only split the URL once. 4.9 KB Diff Download File
lp_registration.py 2978.5.2 18 years ago John Arbash Meinel merge bzr.dev 2991 8.4 KB Diff Download File
test_account.py 2898.3.10 18 years ago James Henstridge Make LaunchpadAccountTests a TestCaseInTempDir so 3.4 KB Diff Download File
test_lp_indirect.py 3031.2.2 18 years ago jml at canonical Failing test for skipping SFTP. 7.8 KB Diff Download File
test_register.py 2978.5.2 18 years ago John Arbash Meinel merge bzr.dev 2991 12.8 KB Diff Download File