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

RE: svndumpfilter - dealing with copies from outside the filter path

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Wed, 28 Jan 2009 15:27:31 +0100

I am having the same situation in a case of ours, but have concluded that I do indeed need to include all paths that ever was copied from! This makes the "copy-at-will" process in SVN a bit scary, so hopefully someone could enlighten us with a better solution?

Geir

-----Original Message-----
From: Aaron Turner [mailto:synfinatic_at_gmail.com]
Sent: 25. januar 2009 23:11
To: users_at_subversion.tigris.org
Subject: svndumpfilter - dealing with copies from outside the filter path

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...

Thanks,
Aaron

--
Aaron Turner
http://synfin.net/
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
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1051685
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1063231
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-28 15:58:00 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.