[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Update prompts for authentication more than once

From: Ariel Arjona <beerfrick_at_gmail.com>
Date: 2004-10-04 19:37:36 CEST

On Mon, 04 Oct 2004 19:17:20 +0200, SteveKing <steveking@gmx.ch> wrote:
>
>
> Ariel Arjona wrote:
> > Hello,
> >
> > My setup:
> > Server:
> > svn 1.1.0-rc3 through apache + basic auth.
> > Client:
> > tsvn 1.1.0
> >
> > Upon performing and update of my wc, I'm prompted for my auth info
> > twice (I don't save credentials). This does not happen with the repo
> > browser or Check For Updates, for example.
> >
> > doing:
> > $ svn up --no-auth-cache --username myusername
> > only prompts me once as well.
>
> Known for a long time now: an update with TSVN needs to authenticate
> twice because there are two connections done:
> - one to find the HEAD revision
> - the second/third/fourth/... to update each selected target to exactly
> that found HEAD revision.
>
> If TSVN would just do a simple update without checking the HEAD revision
> first, you could end up with a working copy consisting of different
> revisions if you update mutliple selected files and someone else does a
> commit while you update target by target.
>
> The Subversion team has an issue about this: they want to implement the
> same feature as TSVN now has too.
>
> If you're using Win2k or XP, you can savely store the auth info now:
> it's now stored encrypted in the registry.
>

Actually I'm not arguing against the multiple connections. My point is
that those are implementation details. As a user, there's very little
chance you want to enter different auth info for each of the update
prompts (in a single update operation).

>From a user perspective, the Update command is a single unit, and
therefore it should prompt you for auth info only once within a single
update operation, and only prompt again if the auth failed or it
actually requires a different set of credentials.

Thanks for the info on the encrypted cache though.

Regards,
Ariel

-- 
~
:wq
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 4 20:39:48 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.