Using
bzr 1.5
bzr-svn 0.4.10
Trying to branch a centricsuite.com svn repo that requires authentication over https:
bzr branch --verbose https://USER:<email address hidden>/webapp/branches/branch-50-community centricsuite
Password information is in ~/.bazaar/authentication.conf and is being used since commenting out the password here and including it in the URL gives rise to a prompt for the password but produces the same result.
The following stack trace in ~/.bzr.log
0.086 encoding stdout as sys.stdout encoding 'UTF-8'
0.087 bzr arguments: [u'branch', u'--verbose', u'https://<email address hidden>/webapp/branches/branch-50-community', u'centricsuite']
0.087 looking for plugins in /home/luis/.bazaar/plugins
0.101 looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
0.101 Plugin name __init__ already loaded
0.101 Plugin name __init__ already loaded
0.119 bzr-svn: using Subversion 1.4.6 (/var/lib/python-support/python2.5/svn/core.pyc)
0.130 encoding stdout as sys.stdout encoding 'UTF-8'
0.173 failed to import pycurl: No module named pycurl
0.174 failed to instantiate transport <bzrlib.registry._LazyObjectGetter object at 83da07c, module='bzrlib.transport.http._pycurl' attribute='PyCurlTransport'> for 'https://<email address hidden>/webapp/branches/branch-50-community': DependencyNotPresent()
1.175 encoding stdout as sys.stdout encoding 'UTF-8'
4.643 Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 916, in run
from_location)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 789, in open_tree_or_branch
bzrdir = klass.open(location)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 667, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 704, in open_from_transport
redirected)
File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 125, in __call__
return obj(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1616, in do_catching_redirections
return action(transport)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 681, in find_format
transport, _server_formats=_server_formats)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1440, in find_format
return format.probe_transport(transport)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 2398, in probe_transport
server_version = medium.protocol_version()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 421, in protocol_version
self._protocol_version = client_protocol.query_version()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 620, in query_version
self.call('hello')
File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 488, in call
self._request.finished_writing()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 348, in finished_writing
self._finished_writing()
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 539, in _finished_writing
data = self._medium.send_http_smart_request(self._buffer)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 518, in send_http_smart_request
code, body_filelike = self._post(bytes)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib.py", line 136, in _post
response = self._perform(Request('POST', abspath, body_bytes))
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib.py", line 79, in _perform
response = self._opener.open(request)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1326, in http_response
code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1250, in http_error_401
return self.auth_required(req, headers)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 966, in auth_required
response = self.parent.open(request)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1326, in http_response
code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1337, in http_error_default
raise errors.TransportError('Server refuses to fullfil the request')
TransportError: Transport error: Server refuses to fullfil the request
This is a bug in bzr itself - it happens even before the connection is passed on to bzr-svn.