Comment 19 for bug 497274

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 497274] Re: should interpret http 405 "not allowed" as "no smart server here" - breaks foreign branches on google code

On 14/09/11 00:46, Janne Snabb wrote:
> Hi Jelmer,
>
> Thank you for your suggestion. Actually I was wanting to make a branch.
> I just used the "log" command in my example of the problem so that it
> matches the OP's bug report.
>
> However, it appears that putting "+urllib" in the URL does not help in
> this case:
>
> $ bzr branch https+urllib://github.com/mbrossard/threadpool.git
> bzr: ERROR: Invalid http response for https://github.com/mbrossard/threadpool.git/info/refs: Unable to handle http code 405: Method Not Allowed
> $
>
> Maybe the suggested workaround works with the Google git but not with
> github? Or is it dependent on some specific versions?
Cloning git repositories over http requires the current trunk of dulwich
and bzr-git; are you running those?

With older versions of bzr-git you should still be able to clone that
repository, but by using git://github.com/mbrossard/threadpool.git

Cheers,

Jelmer