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

Re: Want to remove corrupt revisions on SVN

From: Andreas Stieger <Andreas.Stieger_at_gmx.de>
Date: Tue, 21 Jan 2020 19:52:55 +0100

Hi,

On 1/21/20 5:54 PM, M Yazdi wrote:
> svnadmin create /svn/newrepo
>
> svnadmin dump -r1:5132 /svn/oldrepo > /tmp/dumpfile
> svnadmin dump --incremental -r5847:HEAD /svn/oldrepo >> /tmp/dumpfile
> svnadmin load /svn/newrepo < /tmp/dumpfile
>
> <<< Started new transaction, based on original revision 5850 * editing
> path : branches/15 ...svnadmin: E160013: File not found: transaction
> '5134-3ym', path '/branches/15'
>

You are dumping and importing non-continuous revision ranges, where the
second one is incremental. One of the revisions (r5850) attempts to
modify a path that is not known to the repository. It was originally
created in one of the revisions you left out.

Look into svndumpfilter,

Andreas
Received on 2020-01-21 19:53:08 CET

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