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

Re: Exporting/Importing to Multiple Repositories

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 20 May 2008 07:10:12 -0400

On Tue, May 20, 2008 at 3:26 AM, Ulrich Eckhardt
<eckhardt_at_satorlaser.com> wrote:
>> I've been investigating using a Nant script to do this process but have
>> a couple of problems I'm trying to find solutions for. The dev repository
>> makes heavy use of a common library with each project stored in Subversion
>> using multiple svn:externals references to this library. When exporting
>> the Dev code that is ready for UAT/Production release, I need to update
>> these svn:externals to point to the common library held in the second
>> repository. I've been looking at the svn commands and can save the
>> svn:externals definitions to a text file but the sticking point is the
>> actual updating of the svn:externals references back to Subversion. Any
>> advice on the best way to do this?
>
> Well, if you were using an svn:externals reference into the same repository, I
> would suggest replacing that reference with a normal copy when tagging. That
> way you have defined results and the size overhead is also negligible.

IIRC if you use svncopy.pl to make a tag it will update the external
property, keeping the revision number in the external, so that the
same revision of that external is always retrieved when pulling the
tag.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-20 13:10:47 CEST

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.