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

svndumpfilter problems

From: Sebastian Kuzminsky <seb_at_highlab.com>
Date: Thu, 26 Jun 2008 15:15:51 -0600

Hi folks, I'm trying to clean up an old SVN repo. It's got a pretty
standard layout:

/tags
    /tag-A
    /tag-B
/branches
    /branch-A
    /branch-B
/trunk
    /project-A
    /project-B

etc... I want to split out a couple of the projects in trunk to their
own repos. I dont mind moving things around in the new repos using svn
after it's loaded, i just want the history of project-A and nothing else
in a new repo.

First I dumped the whole repo:

    svnadmin dump repo > repo.dump

I learned by browsing mailing list archives that I couldnt dump with
--deltas. Once I learned that, the dump went fine.

Then filtered out the project I want:

    svndumpfilter include trunk/project-A --drop-empty-revs --renumber-revs <
repo.dump > project-A.dump

I created a new repo to hold project-A:

    svnadmin create project-A

But things broke when I tried to load it:

    svnadmin load project-A < project-A.dump
    ...
    <<< Started new transaction, based on original revision 3
    svnadmin: File not found: transaction '4-1', path 'trunk/project-A'
    * adding path : trunk/project-A ...

It looks like svndumpfilter is not widely used and not widely liked...
But can it do what I want here?

-- 
Sebastian Kuzminsky
"The brain is [a machine]. The fact that it's made out of meat is a
red herring."  -- David Adler <http://www.spectrum.ieee.org/print/6268>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-26 23:16:17 CEST

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.