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

Recursive tagging of externals

From: Jano <alejandro_at_mosteo.com>
Date: 2007-06-04 16:21:27 CEST

Hello,

after reviewing several threads on svncopy.pl, externals and all I could
think may be related I haven't found a solution for my question. My case
use is as follows:

Let's say I have a repo with three projects:

/lib1
/lib2
/project1

Then, lib2 has lib1 as a external source, pointing to HEAD, and likewise
project1 has lib2 as a external source, also pointing to HEAD.

So, project1->lib2->lib1 via externals.

I'm now trying to make a release tag of project1. At first I have found the
svncopy.pl script, and I see that it correctly freezes the project1->lib2
external. However, externals in lib2 are untouched (quite correctly since
that would require tagging of lib2 to somewhere else), thus leaving a HEAD
external for lib1 that may become problematic in the future.

At this moment I think that no solution exists but manual tagging of all
involved projects. My real case is quite more complex, so this would be a
quite unpleasant task, not to mention the non-genericity of it. I see
several problems with any solution.

Someone else having this problem? Any ideas? I guess the best option is to
always have explicit revisions in all externals (as the book recommends
IIRC), since these are versioned. Now, development may become a bit more
tedious because external revisions must be updated quite frequently until
libs stabilize, but I see no better option.

Any other ideas? Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 4 16:48:03 2007

This is an archived mail posted to the Subversion Users mailing list.