Proper way of working Bazaar with Subversion repos with authentication

Hendy Irawan gauldong at gmail.com
Sat Aug 11 02:14:36 BST 2007


Jelmer Vernooij wrote:
> Hi Hendy,
>
> Am Samstag, den 11.08.2007, 07:55 +0700 schrieb Hendy Irawan:
>   
>> What is the proper way of working on Bazaar with Subversion?
>>
>> I try:
>>
>> ceefour at ojalanow:~/project/humblia$ bzr branch 
>> 'http://myproject.unfuddle.com/svn/myproject_myproject/'
>> bzr: ERROR: Invalid http response for 
>> http://myproject.unfuddle.com/svn/myproject_myproject/.bzr/branch-format: 
>> Unable to handle http code 401: expected 200 or 404 for full response.
>>
>> I can svn ls to the URL just fine.
>>
>> I'm usually using SVK to work offline with a Subversion repository.
>>
>> After hearing a lot of good things about Bazaar, I'm beginning to think 
>> that Bazaar with bzr-svn can be a good substitute/alternative to SVK. 
>> Besides I really want to try it anyway.
>>     
> Bazaar always tries to find a native bzr branch first when you specify a
> location. If the server returns some error indicating that the specified
> files was present it tries if a branch in some other format (such as
> Subversion) is present. In the case of a 401 it apparently immediately
> aborts. I'm not sure whether this is the right thing to do but I'm also
> not sure whether ignoring the 401 and trying other formats, such as svn,
> is ok.
>
> Is this by any chance a google-code hosted project?
>
> As a work-around you can tell bzr that the repository is a subversion
> repository by prefixing the url with 'svn+', e.g.:
>
> $ bzr branch svn+http://myproject.unfuddle.com/svn/myproject_myproject/
>
> Cheers,
>
> Jelmer
>
>   
WHOA WHOAAAAAAAA IT (the workaround) WORKS PERFECTLY!!!

THANKS Jelmer!!

Is this issue noted in the documentation somewhere? Cause I'd love to 
post it on my web blog

Thanks :-)

-- 
Hendy Irawan
www.hendyirawan.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070811/8b715adc/attachment.htm 


More information about the bazaar mailing list