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."
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."
---------------------------------------------------------------------
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:14:30 CET