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

Re: Merging repositories

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Thu, 25 Dec 2008 06:35:46 +0300

2008/12/16 Daniel Jacobsen <daniel.jacob.jacobsen_at_gmail.com>:
>
> I have two SVN repositories that contain very similar file trees.
> However, they have been used independently for a long time so that
> many folders and files are unique to each tree, and many files exist
> in different revisions in each repository.
>
> How do I merge the two repositories together? I've tried the svnadmin
> dump and svnadmin load, but that does not work - the error is:
>
> svnadmin load /svn < dumpfile2
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem '/svn/db', transaction 'ip',
> path 'branches'
> * adding path : branches ...server1:
>

You can use --parent-dir option of svnadmin load command to load the
dump into a subdirectory of your repository. You should create that
subdirectory (empty) in your repository before running with that option.

See the book,
http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate

Best regards,
Konstantin Kolinko

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=992030

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-25 04:36:48 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.