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

Re: merging only selected directories?

From: <user_at_domain.invalid>
Date: 2005-08-11 20:55:43 CEST


I have a similar problem with an additional twist:
repository 1 has structure "project1\trunk\files"
and repository 2 has structure "project2\trunk\tools".
Target was to import tree1 into repository 2 with result:

Using "svnadmin dump", "svndumpfilter --include project1" and
"svnadmin load --parent-dir trunk\tools" I managed only get
"project2\trunk\tools\project1\trunk\files" so I gave up.
Any ideas how to remove the extra "trunk" -subdirectory?

I did try removing "trunk" from dumpfile by editing it with Emacs,
but got lost in its structure.


Ben Collins-Sussman wrote:
> On Aug 11, 2005, at 2:00 AM, Kat Ng wrote:
>> Dear subversion community,
>> We have two independent repositories, and would like to import only one
>> directory from repository 1 to repository 2 together with its history
>> (instead of merging two repositories as mentioned in the subversion
>> docs).
>> Is this possible?
> You have to 'svnadmin dump' one repository, then pipe the dumpfile
> through 'svndumpfilter --include', then 'svnadmin load --parent-dir'
> the results.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 19:03:45 2005

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.