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

Move to a new repo and keep the history, Part 2

From: K F <cmkforce_at_yahoo.com>
Date: Thu, 14 Jul 2011 09:29:31 -0700 (PDT)

Recap – I would like to move some directories from one repository to another while keeping the history.
 
    Repo1/tags/tag1
 
and move tag1 to Repo2
 
    Repo2/tags/tag1
 
I’ve run
    svnadmin dump /svnrepo/ Repo1/ > repo1/ repo1_dump

 and the resulting file appears to be correct (get Dumped revision).

I’ve then run
    svndumpfilter include tags < repo1_dump > stags

and the resulting file appears to be correct (get Dropped nodes for branches and trunk).

I then tried doing another dumpfilter on stags,
    svndumpfilter include tag1 < stags > tag1

to get just the tag1 folder but it doesn't seem to work, it drops all nodes under it. Am I doing something incorrectly or is it impossible to do a 'double' filter? I do not want all the tags under the tag directory, just specific ones (all at once preferably, but I would guess would have to be done one at a time).

Thanks,
Rich
Received on 2011-07-14 18:30:10 CEST

This is an archived mail posted to the Subversion Users mailing list.