[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: Norbert Unterberg <nunterberg_at_gmail.com>
Date: Tue, 14 Dec 2010 10:36:57 +0100

2010/12/14 Ryan Schmidt <subversion-2010d_at_ryandesign.com>:
> On Dec 13, 2010, at 04:27, Norbert Unterberg wrote:
>
>> 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.

I will think about that. The problem is that in our case the external
is not really "external" but points to a different folder in the same
active project (please no discussion here why that is so). So normally
we want to work with "trunk" of both projects without daily
modification to the externals property. I just thought there might be
a switch to make "svn up -rxxxx" a real time machine.

Norbert
Received on 2010-12-14 10:37:35 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.