error pulling from svn repo - unable to handle http code 401

Jelmer Vernooij jelmer at samba.org
Sat May 22 17:57:07 BST 2010


Hi Gary,

On Sat, 2010-05-22 at 10:56 -0500, Gary Wilson Jr. wrote:
> Recently upgraded my laptop to 10.04 and having issues with an
> existing bzr branch from a svn repo from before the upgrade.  Trying
> to pull updates results in things hanging for a while, then finally
> coming back with the following error:
> 
> $ bzr -Dtransport pull
> Using saved parent location: https://server.com/repos/proj/trunk
> bzr: ERROR: Invalid http response for
> https://server.com/repos/proj/trunk/.bzr/branch-format: Unable to
> handle http code 401: expected 200 or 404 for full response.
> 
> This works on my other machine that I updated to 10.04.  Any ideas as
> to what's going on here?
Do you perhaps have pycurl installed on this machine but not on the
other one?

Some svn http servers respond to requests for .bzr/branch-format with a
error code that bzr doesn't understand and that causes this error. There
is a hack in bzr-svn to probe for svn before probing for bzr but that
only works for urllib, not for pycurl.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100522/7c35b220/attachment.pgp 


More information about the bazaar mailing list