The Jelmer "fork" of bzr.dev
russel.winder at concertant.com
Sun Apr 12 11:39:23 BST 2009
On Sun, 2009-04-12 at 12:30 +0200, Vincent Ladeuil wrote:
> >>>>> "Russel" == Russel Winder <russel.winder at concertant.com> writes:
> Russel> Jelmer,
> Russel> On Sat, 2009-04-11 at 23:59 +0200, Jelmer Vernooij wrote:
> >> Bazaar will already ask for the credentials only once if credentials are
> >> asked. The problem in this particular situation is that GET and OPTIONS
> >> requests (used by bzr-svn) don't require authentication while POST
> >> requests (tried by bzr's smart protocol client) do. We don't want Bazaar
> >> to ask for credentials here at all, but as the smart client gets to
> >> probe the URL before bzr-svn does the user will see a prompt.
> >> Perhaps Bazaar should try all formats without using authentication first
> >> and if there's no format that succeeded prompt the user and try the
> >> formats that required authentication. That's quite a lot of
> >> restructuring to implement properly though :-/
> Russel> This all seems like Bazaar internals are getting in
> Russel> the way of what the user knows to be straightforward
> Russel> and simple: I know that the project at the end of the
> Russel> URL is a Subversion one that I can access without
> Russel> authentication.
> So you don't need the automatic smart server probe.
> Try using nosmart+http:
I can see that that will cure the difficulty but is it the right thing
for a user to have to do?
svn+http is a positive statement by the user that they know that the
repository is a Subversion repository and is giving information to
Bazaar to enable short-circuiting of algorithms.
nosmart+http is a negative statement that requires the user to know
about how Bazaar works.
I therefore argue that svn+http is a better solution to the problem than
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK. m: +44 7770 465 077 xmpp: russel at russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090412/8f3ea119/attachment.pgp
More information about the bazaar