You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Victor Sudakov <su...@sibptus.tomsk.ru> on 2016/03/11 17:33:32 UTC

Cannot load partial dump

Dear Colleagues,

I need to export one file's history to another repository. Here is
what I do and what error I get:

$ svnadmin dump repos/configs |\
        svndumpfilter --drop-empty-revs include /cisco/trunk/caracal-confg \
        > tmp/test1.svn
[copious output deleted]

$ svnadmin create test2
$ svnadmin load test2 < tmp/test1.svn
<<< Started new transaction, based on original revision 540
     * editing path : cisco/trunk/caracal-confg ...svnadmin: E160013:
     * File not found: transaction '0-0', path
     * '/cisco/trunk/caracal-confg'

What am I doing wrong?

If I dump/load the complete repository (without svndumpfilter), the
operation is successful. But I don't need all the files from the old
repository.

Any advice is greatly appreciated.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru

Re: Cannot load partial dump

Posted by Victor Sudakov <su...@sibptus.tomsk.ru>.
Daniel Shahaf wrote:
> > $ svnadmin dump repos/configs |\
> >         svndumpfilter --drop-empty-revs include /cisco/trunk/caracal-confg \
> >         > tmp/test1.svn
> > [copious output deleted]
> > 
> > $ svnadmin create test2
> 
> Run 'svn mkdir --parents file://$(pwd)/test2/cisco/trunk' at this point.
> 
> > $ svnadmin load test2 < tmp/test1.svn

Thanks a lot for your help!

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru

Re: Cannot load partial dump

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Victor Sudakov wrote on Fri, Mar 11, 2016 at 22:33:32 +0600:
> $ svnadmin dump repos/configs |\
>         svndumpfilter --drop-empty-revs include /cisco/trunk/caracal-confg \
>         > tmp/test1.svn
> [copious output deleted]
> 
> $ svnadmin create test2

Run 'svn mkdir --parents file://$(pwd)/test2/cisco/trunk' at this point.

> $ svnadmin load test2 < tmp/test1.svn