[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 21:03:46 +0100

On 1/21/20 8:39 PM, M Yazdi wrote:
> On Jan 21, 2020, at 22:22, Andreas Stieger <Andreas.Stieger_at_gmx.de> wrote:
>> 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,
>>

> What do you suggest? Would you please modify my command, I try
> different way but it give me same error!
> I just Want to remove revision 5132 to 5847.

Please keep your replies on the mailing list for public follow-ups.

In short, you cannot remove these revisions and then attempt to load
subsequent revisions (r5850 and certainly others) that modify something
that you just filtered out.

What is "corrupt" about these revisions in the first place?

Andreas
Received on 2020-01-21 21:04:03 CET

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.