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

Re: Checkout and update atomicity

From: Matthias Wächter <matthias.waechter_at_tttech.com>
Date: 2005-10-17 19:23:43 CEST

Simon Large schrieb:
> For subversion no, but for TSVN yes.

Why "no" for subversion?

> TSVN contacts the repository to
> find the HEAD revision, then it updates to that specific revision, so
> the update is effectively atomic.

What happens if I select a couple of files/directories in the explorer
and then apply "SVN Update..." - the dialog shows some consecutive
updates each finishing with "Completed At revision: xxxxx". I'm not
sure whether "xxxxx" is the same for each of these entries, but for me
it looks like these are sequential update operations each requesting the
HEAD revision.

Is a "selective update" like this an atomic operation? I haven't had the
time to play with this and try to commit and selectively update at the
same time (nor to look at the code). With the CLI only one "At revision"
is shown after a selective update, none in between, so it looks as if
the CLI only performs one update operation on the repository.

If I'm right and it's not an atomic operation, TSVN should change ASAP :-)

If I'm wrong and a selective update is in fact atomic the interface
should not write out multiple "At revision" lines or at least document
this behavior (the different output compared to the CLI).

- Matthias

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

Received on Mon Oct 17 18:29:55 2005

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