please explain the hg plugin

Jelmer Vernooij jelmer at samba.org
Fri Dec 25 13:52:40 GMT 2009


On Wed, 2009-12-16 at 13:17 +0900, Stephen J. Turnbull wrote:
> Jelmer Vernooij writes:
> 
>  > Unfortunately this doesn't actually appear to work. We have a similar
>  > problem with bzr-hg against Google code as we have for bzr-svn: Google
>  > will return an error 405 when bzr attempts to access .bzr/branch-format.
> 
> Why is that a problem?  "OK, I'm not allowed to get .bzr/branch-format
> in the only way I know how to get it.  So try Plan B: get something
> else."  No?  I hope you're not using a library that thinks that 405
> means that method isn't allowed for anything on the server or
> something like that....
> 
> I agree that 405 is clearly inappropriate for a nonexistent resource
> (the required Allow header should be empty :-), but I don't see why
> bzr-{hg,svn} can't work with that anyway.
Actually, s/405/401/. Google requires(required?) authentication for
"GET /.bzr/branch-format" but not for "OPTIONS /svn", and this caused
bzr to prompt for a password when trying to access that URL while it was
not actually necessary.

Cheers,

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


More information about the bazaar mailing list