Proper way of working Bazaar with Subversion repos with authentication
Jelmer Vernooij
jelmer at vernstok.nl
Sat Aug 11 02:09:20 BST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070811/0b34ccdd/attachment.pgp
More information about the bazaar
mailing list