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

svndumpfilter - dealing with copies from outside the filter path

From: Aaron Turner <synfinatic_at_gmail.com>
Date: Sun, 25 Jan 2009 14:11:13 -0800

I'm trying to merge a subtree of one repository (repo1:/trunk/mydir)
to a directory in another repository (repo2:/trunk/foo/mydir).

From what I can tell, the process is:

svnadmin dump repo1 >dump
cat dump | svndumpfilter include /trunk/mydir >filtered.dump
cat filtered.dump | svnadmin load repo2 --parent-dir /trunk/foo

The problem is that when I run svndumpfilter I'm getting an error
regarding a svn copy where the source is outside of the path
/trunk/foo (it's from /features/bar)

I read in the svn manual that this is a known issue, and that to solve
it I need to "rethink my include/exclude" paths... but that sounds
like I basically need to list every path prefix which is the source of
a copy to /trunk/foo. Is that correct? Is there a way to trick svn
into thinking this are just plain "adds" instead of copy? Basically,
is there a way to not pollute repo2:/trunk/foo with a bunch of stuff I
don't need? I'm sure I'm not talking about 1 or 2 extra paths here...


Aaron Turner
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little
temporary Safety,
deserve neither Liberty nor Safety.
    -- Benjamin Franklin
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 22:19:39 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.