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

Re: Update to revision and externals

From: Ryan Schmidt <subversion-2010d_at_ryandesign.com>
Date: Mon, 13 Dec 2010 18:59:16 -0600

On Dec 13, 2010, at 04:27, Norbert Unterberg wrote:

> Is there a way to let svn:externals use the same revision number as
> the folder they are contained in?

Not that I'm aware of, unless you write a script to do so.

> We have a project that contains a few svn:externals which point into
> the same repository (using ../ or ^/ syntax).
> Problem is that when we need to go back in time with the project for
> some reason and do an TSVN --> Update to revision ... then the
> externals are still updated to their HEAD revision and not to the
> revision that was given in the update command.

....only if you've defined your externals without a revision argument. You should always define your externals with a revision argument, a peg revision in fact, so that when you update to previous versions of your project, your externals go back as well. This also gives you concrete times at which you update your externals to new versions of that external software, instead of having them auto-update, as it were, and possibly break your project in the process.
Received on 2010-12-14 01:59:59 CET

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

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