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

Re: tags on module alias in svn

From: Filipe Fernandes <fernandes.fd_at_gmail.com>
Date: 2007-06-04 16:18:20 CEST

Filipe Fernandes wrote:
> Lutz.Dornbusch@fiducia.de wrote:
> [snip]
>> Explanation:
>> We have a cvs repository with a number of modules[eg: mod_1 ... mod_n]
>> some tags contains more than one module [eg. Tag TEST_TAG contains mod_1,
>> mod_2]. cvs2svn converts repositorys correct, so I have in my tags/ folder
>> a new tag /tags/TEST_TAG/ with two modules inside.
>> But if I want to create a new tag from trunk containing mod_1, mod_2, I
>> can copy only /trunk/mod_1 and trunk/mod_2 successively, but this collides
>> with my convention never to comit to an existing tag which is handled by a
>> hook-script. In "svn mkdir" I can specify more than 1 directory to create.
>> Is similar possible with svn cp ?
>> How can I provide a possibility to create a tag containing more than one
>> "modules" [directorys beneath trunk] ?
> I think what you might want to use is 'mucc'. It allows you to batch
> copy, move, and delete commands as one transaction. It comes with
> subversion as a contrib client-side tool and to make it simply type:
> make mucc
> at the root of your subversion source code tree. So my guess as to what
> you would need to do is the following:
> mucc cp head http://repo/trunk/mod_1 http://repo/tags/TEST_TAG2 \
> cp head http://repo/trunk/mod_2 http://repo/tags/TEST_TAG2

Argh... looking into it further, this is not what you want either.
It would be closer to...

mucc cp head http://repo/trunk/mod_1 http://repo/tags/TEST_TAG2/mod_1 \
     cp head http://repo/trunk/mod_2 http://repo/tags/TEST_TAG2/mod_2

But /tags/TEST_TAG2 would have to exist first. The mucc in trunk has the
option of doing a 'mkdir' changing the command to...

mucc mkdir http://repo/tags/TEST_TAG2 \
     cp head http://repo/trunk/mod_1 http://repo/tags/TEST_TAG2/mod_1 \
     cp head http://repo/trunk/mod_2 http://repo/tags/TEST_TAG2/mod_2

but to do this with a 1.4.x client under one commit, I'm not sure...


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:18:56 2007

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.