anonymous bzr-svn checkout asks for password

John Arbash Meinel john at arbash-meinel.com
Thu Nov 5 14:17:58 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Szakmeister wrote:
> On Thu, Nov 5, 2009 at 4:23 AM, }--o <viktor.nagy at gmail.com> wrote:
>> Hi,
>>
>> I would like to check out
>>
>> svn co http://code.djangoproject.com/svn/django/trunk/
>>
>> using bzr-svn, but it asks for a password.
>>
>> this is the first time I'm trying to use bzr-svn, so the following commands
>> might be wrong:
>> $ bzr checkout http://code.djangoproject.com/svn/django/trunk/ django
>> $ bzr branch http://code.djangoproject.com/svn/django/trunk/ django
>>
>> could someone help me out, please
> 
> Which version of bzr-svn are you using?
> 
> The simple answer is to use 'svn+http://' to access it.  It's probably
> the probe bzr-svn does to see if the url is a Subversion server or not
> that the server is unhappy with.  Adding the 'svn+' to the front
> circumvents that probe.
> 
> HTH!
> 
> -John

Or, I believe:
  bzr branch nosmart+http://code.djangoproject.com/...

The issue is that we probably *first* probe to see if it as Bazaar
branch (you *are* using bzr after all), and that probe is triggering the
remote site to ask for a password.

Normally, we start by probing for a remote http smart server, using a
POST request. With 'nosmart+' we will only probe with a GET request,
which is less likely to trigger the issue.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry3pYACgkQJdeBCYSNAAPR/ACgwojQb2AWQDnO5yZrytlJYhOR
IaAAni/lr5LVNX7BNNC40M683VrMdYqX
=15Ez
-----END PGP SIGNATURE-----



More information about the bazaar mailing list