You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Robert P. J. Day" <rp...@crashcourse.ca> on 2008/10/31 19:08:04 UTC

how to auto-version a bunch of externals?

   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?

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by "Robert P. J. Day" <rp...@crashcourse.ca>.
Quoting Andy Levy <an...@gmail.com>:

> On Fri, Oct 31, 2008 at 15:08, Robert P. J. Day   
> <rp...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Andy Levy <an...@gmail.com>.
On Fri, Oct 31, 2008 at 15:08, Robert P. J. Day <rp...@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/