On Tue, Sep 06, 2011 at 02:30:08PM -0400, Todd D. Taft wrote: > I'm trying to move just a few directory trees from a subversion repo > to another server. > > On the old server, I run svndump /path/to/old/repo > /tmp/svn-dumpfile > I've copied the svn-dumpfile to the new server. > Now, when I try to run cat svn-dumpfile | svndumpfilter include > /htdocs/CCDB | svnadmin load /path/to/new/repo I get an error from > svndumpfilter: > svndumpfilter: Invalid copy source path '/CCDB' > and I don't see anything in my new repo. > What am I doing wrong?
Somewhere in history the path you include was copied from /CCDB. You need to include copy history, i.e. you need add /CCDB to your include list. For complex cases, there is a helper script which analyses copy history and lists all paths which need to be included. See https://svn.apache.org/repos/asf/subversion/trunk/tools/server-side/svnpredumpfilter.py