On Jun 26, 2008, at 16:15, Sebastian Kuzminsky wrote:
> 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...
I'm not sure why you say that. :)
> But can it do what I want here?
I think you need to
svn mkdir --parents file://`pwd`/project-A/trunk
before you svnadmin load into the new repo.
---------------------------------------------------------------------
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:29:10 CEST