/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 2946.3.3 18 years ago John Arbash Meinel Prefer tree.get_root_id() as more explicit than tr 13.3 KB Diff Download File
test_get_file_mtime.py 2405.3.1 18 years ago John Arbash Meinel Add some tests for get_file_mtime, and clean up ot 1.6 KB Diff Download File
test_get_root_id.py 2946.3.4 18 years ago John Arbash Meinel Comment from Martin: Use 'make_tree_*' not 'get_tr 1.5 KB Diff Download File
test_get_symlink_target.py 2949.5.1 18 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 1.7 KB Diff Download File
test_inv.py 3123.1.1 18 years ago John Arbash Meinel Update from deprecating 0.93 to 1.0, and add a 1.1 10.4 KB Diff Download File
test_list_files.py 2255.2.71 18 years ago John Arbash Meinel Add a test for list_files, and implement it for Di 2.1 KB Diff Download File
test_path_content_summary.py 2776.1.7 18 years ago Robert Collins * New method on ``bzrlib.tree.Tree`` ``path_conten 3.9 KB Diff Download File
test_revision_tree.py 1908.11.5 19 years ago John Arbash Meinel [merge] bzr.dev 2240 1.2 KB Diff Download File
test_test_trees.py 2949.5.1 18 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 13.5 KB Diff Download File
test_tree.py 2743.3.6 18 years ago Ian Clatworthy Merge bzr.dev 6.4 KB Diff Download File
test_walkdirs.py 2408.1.3 18 years ago Alexander Belchenko tree_implementations: make usage of symlinks optio 4.3 KB Diff Download File