Access control
Jeffrey Cunningham
jeffrey.k.cunningham at boeing.com
Wed Feb 28 15:59:10 GMT 2007
Vincent Ladeuil wrote:
>
> You have to specify both user and password in the url:
>
> bzr branch http://jeff:password@medea.sea.boeing.com/~jcunningham/docs
>
> But digest authentication is not supported by the urllib
> implementation so far, so you have to either use basic auth or
> use the pycurl implementation which require the pycurl package to
> be installed.
>
> Explicitly selecting an implementation for http is done like this:
>
> bzr branch http+urllib://xxx
> bzr branch http+pycurl://xxx
>
> Or you can use htpps.
>
> Being able to specify the user only and be prompted for the
> password is planned.
>
> Vincent
I haven't been able to get this to work yet. I tried using digest like this:
bzr branch
http+pycurl://jeff:password@medea.sea.boeing.com/~jcunningham/docs
Then I changed back to basic authentication and tried both these ways:
bzr branch
http+urllib://jeff:password@medea.sea.boeing.com/~jcunningham/docs
bzr branch http://jeff:password@medea.sea.boeing.com/~jcunningham/docs
For all three cases I got the following error message:
bzr: ERROR: Invalid http response for
http://jeff:password@medea.sea.boeing.com/~jcunningham/docs/.bzr/branch-format:
Unable to handle http code 400: expected 200 or 404 for full response.
[jeff:password stands for the correct username:password, of course,
which I verified work in through a browser]
Any idea what I'm doing wrong?
Regards,
Jeff
More information about the bazaar
mailing list