Hi Hilco and Ryan,
thanks very much for your reply.
Hilco Wijbenga wrote, On 07/08/2008 20:28:
>> Suppose that M1 and M2 are two modules in the tree-like SVN repository,
>> which could look like:
>>
>> trunk/alpha/beta/M1 assigned to person P1
>> trunk/alpha/beta/M2 assigned to person P2
>> (any depth is allowed, depending on the circumstances)
>
> Why not alpha/beta/M1/trunk and alpha/beta/M2/trunk? If necessary, you
> might want to consider using svn:external to link various modules
> together in a separate project.
>
the drawback of such an approach is that in order to check out the HEAD
of the entire project (ooops, I mean the trunk, to use modern SVN
parlance) I need to do:
mkdir alpha/beta/M1 && cd alpha/beta/M1 && svn co URL/alpha/beta/M1/trunk
mkdir alpha/beta/M2 && cd alpha/beta/M2 && svn co URL/alpha/beta/M2/trunk
etc. etc. etc. for *all* the modules in the project, wherever they reside.
I do not think this is feasible for several millions line of code.
One also needs to know their location in the tree.
Whereas the "CVS approach" would simply have:
svn co URL/trunk and there you go.
>> Notice that such a behavior can be obtained with the command line, although
>> in an error-prone way, by doing something like:
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/Mytag
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/MyTag/alpha
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/MyTag/alpha/beta
>> and finally
>> svn copy -m "tagging MyTag" M1 svn://URL/tags/MyTag/alpha/beta
>
> I would do something like
>
> mkdir -p tags/MyTag/alpha/beta
> svn add tags/MyTag
> svn copy ...
> svn commit
>
> That's not so error prone.
>
well, I consider error prone any activity where a human has to
repeatedly type in a sequence of string "alpha/beta/gamma".
True, this could be automated with a script from the command line, but
what do we do with Eclipse??
cheers
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-08 16:49:28 CEST