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

Re: how to auto-version a bunch of externals?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Fri, 31 Oct 2008 15:19:02 -0400

Quoting Andy Levy <andy.levy_at_gmail.com>:

> On Fri, Oct 31, 2008 at 15:08, Robert P. J. Day
> <rpjday_at_crashcourse.ca> wrote:
>> now that i have all my whitespace/eol issues under control
>> (thanks, it all worked nicely), i'm looking at another repo
>> i was just handed which incorporates about two dozen externals,
>> none of which are versioned.
>>
>> this is not a good thing since those externals do change
>> occasionally so i want to be able to tag and incorporate
>> versioned externals as well. the question -- is there a
>> way to tag and version those externals as part of the tag
>> process? naturally, i can always do it manually, but there
>> must be an easier way -- i'm guessing someone probably has
>> a script or something.
>>
>> does the question at least make sense?
>
> I think what you're asking is: "When I tag my code, I want to pin the
> externals at their 'current' revision so that checking out the tag in
> the future always yields the same code in those externals, effectively
> 'freezing' them in time."

   if i had been more precise and succinct, yes, that is exactly
what i would have been asking. :-)

> And the answer is yes, there is a script that can handle it. Check out
> svncopy.pl.
>
> http://svn.collab.net/repos/svn/trunk/contrib/client-side/svncopy/
>
> From the README: "Using the script allows more advanced operations,
> in particular allowing svn:externals to be dealt with properly for branching
> or tagging."

   thank you, problem solved.

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-31 20:19:23 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.