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

Re: Consistent revision when retrieving from repository

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-10-18 10:57:19 CEST

Stefan Küng wrote:
> On 10/18/05, Stuart Celarier <SCelarier@corillian.com> wrote:
>>Thanks, Douglas. However, the aspect I'm interested in is the
>>consistency of the retrieved items, not whether they are atomic for the
>>client. (That could be viewed as the operation being an atomic read from
>>the repository, which is how I got off on the wrong terminology.)
>>Ben and others on the Subversion lists have said that Subversion
>>provides this consistency: when retrieving from a single URL from the
>>HEAD, all items will be from a single revision. Responses on the TSVN
>>mailing list indicated this wasn't the case, and that TSVN does
>>additional work to get around this (incorrectly?) perceived limitation
>>of Subversion.
> I'm sorry, but we've never said that Subversion wouldn't provide this
> for single targets.
> If you read my answer again, I specifically mentioned that Subversion
> doesn't do that for multiple targets, while TSVN does. And I even
> mentioned how TSVN achieves this.

Sorry, that was my original response at fault. I didn't mention multiple
targets at all, which is the source of the non-atomicity problem.

So in summary:

For a single target (file or folder), both SVN CLI and TSVN guarantee
update to a single revision, so no special handling is required.

For multiple targets in the same repository, SVN CLI does separate
updates to HEAD, so the targets may end up at different revs. TSVN
provides a workaround for this specific multiple target problem by first
finding HEAD for that repository, then updating the targets to that
explicit revision.

I don't know but I would guess that if the target includes externals
then all bets are off. Each external target is updated independently
(even if it is in the same repository). Is that correct?

One other question remains: Suppose I select 4 folders A, B, C & D. A,
B & C are all from repository X, and D is from repository Y. Does TSVN's
update guarantee that A, B & C will be updated to the same revision in
this case?


   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 Tue Oct 18 10:57:42 2005

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.