[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: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-04 19:17:20 CEST

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.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
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:19:45 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.