The Jelmer "fork" of bzr.dev

Jelmer Vernooij jelmer at samba.org
Sat Apr 11 13:55:25 BST 2009


Hi Russel,

Russel Winder wrote:
>> This should be fixed now in bzr.foreign, but in a different way.
>> bzr.foreign will now *always* check the Subversion credentials store and
>> if that doesn't work resort back to prompting the user.
>>     
>
> I have fully updated all my branches and now find:
>
> 1.  svn+http is not acceptable.  OK it's deprecated in bzr.dev but it
> still works.
>   
This also no longer works for bzr.dev (support has been removed in
bzr-svn 0.6).
> 2.  I am being asked for login authorization for http access which I
> think must be wrong, login should only be required for https.
>  
>   

Unfortunately this is an issue in Google code hosting. The first thing
Bazaar tries to do when accessing a URL is to try opening it using the
native Bazaar formats. This involves checking if there is a smart server
on the remote side, and for this Bazaar does a POST request:

However, Google responds to that with a 401 for some reason, causing
Bazaar to (rightly) ask for credentials:

> POST /svn/trunk/.bzr/smart HTTP/1.1
< HTTP/1.1 401 Authorization Required

I'm not sure what the best way to fix this is :-/ I may have to
introduce http+svn:// to allow working around this issue.  Or we could
(yuck) special-case google code.

Cheers,

Jelmer



More information about the bazaar mailing list