Re: Merging two projects in two different repos
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 28 Apr 2011 06:44:13 -0500
On Apr 28, 2011, at 05:27, Ulrich Eckhardt wrote:
That is to say, you can "svnadmin dump" the repo that contains the project now, "svndumpfilter" the dumpfile to extract only that project, and then "svnadmin load" it into the new repository. If you don't have access to the old repository, you can "svnsync" the old repository to a new empty repository on your machine, then "svnadmin dump" that.
Loading the project into the new repository will probably destroy your ability to use dates as revisions in the new repository, because revisions will probably no longer be chronological. To work around that, you can dump the new repository too, and use svndumptool to merge the two dumpfiles with revisions interleaved in chronological order. This will renumber your old revisions though, and everyone will have to check out new working copies of the new repository, and you may not like either of those consequences either.
This is an archived mail posted to the Subversion Users mailing list.