[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-18 11:21:10 CEST

On 10/18/05, Simon Large <simon@skirridsystems.co.uk> wrote:
> 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?

Yes, correct. If you want to update the externals, you have to specify
the revision in the external URL itself:
svn:externals
folder -rXXX url

> 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?

No, the TSVN workaround only works if all targets are from the same repository.

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 Tue Oct 18 11:21:30 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.