[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 15:28:52 CEST

Lutz.Dornbusch@fiducia.de wrote:
> 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

The above should copy your two modules from trunk into one tag called
TEST_TAG2 in one transaction without violating your hook script.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 4 15:29:27 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.