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

Reorganizing multiple repositories

From: Matt imMute Sickler <immute_at_msk4.ath.cx>
Date: Wed, 05 Mar 2008 10:45:38 -0600

Suppose I have two repos: (these are the root folders)
        $REPOA = /var/svn/repos/repoA
        $REPOB = /var/svn/repos/repoB

and I have some projects:
        $REPOA/project1
        $REPOA/project2
        $REPOB/project3
        $REPOB/project4 ( only existed in revisions X to Y )

Is it possible to dump the changes to
        $REPOA/project1 (all revisions affected)
        $REPOA/project2 (all revisions affected)
        $REPOB/project3 (all revisions affected)
        and $REPOB/project4 ( rev X:Y )
and then combine the streams into a single repository?
( $REPOA and $REPOB both contain other projects that I dont want dumped)

Assume that I don't care that the revision numbers will get messed up
(but I don't want "padding" revisions).
(But it would be nice if the commits could be sorted chronologically)

Also, would It be possible to mangle the paths before the separate dumps
are combined? Basically so I can do this:
        $REPOA/project1 =becomes> $REPOC/projects/project1
        $REPOA/project2 =becomes> $REPOC/projects/project2
        $REPOB/project3 =becomes> $REPOC/projects/project3
        $REPOB/project4 =becomes> $REPOC/projects/project4
Then I will manually add
        $REPOC/tags
        $REPOC/branches

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-05 19:05:29 CET

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.