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

Re: svnadmin verify produces "file not found"

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 21 May 2012 18:16:29 +0300

Stefan Witzel wrote on Mon, May 21, 2012 at 12:09:46 +0200:
> Hi,
>
> when I tried to update from my local svn repository today I got an
> assertion failure:
>
> svn:
> /tmp/buildd/subversion-1.6.17dfsg/subversion/libsvn_delta/compose_delta.c:165:
> search_offset_index: Zusicherung »offset < ndx->offs[ndx->length]« nicht
> erfüllt.
>

You should set LC_ALL=C in your environment to get these errors in
English for the list.

> I tried svnadmin verify on the repository which complained that a file
> was not found:
>
> svnadmin: Datei nicht gefunden: Revision 672, Pfad »/somefile«
>

Note that this most likely means that a revision _later_ than r672 was
corrupted. You can determine which from the "* Verified revision N."
outputs of svnadmin.

> In contrast to most similar reports I saw, the missing file is an actual
> file from the repository, not some transaction. I do have backups but
> none including this revision. I have the file, however. So if there was
> a way to get the repository working by purging this file, it would be
> good enough for me. Is there a way to do that?

Create an svnsync copy while accessing the corrupted repository through
svn:// or http:// with authz set to deny read access to the offending
file.

Cheers,

Daniel
Received on 2012-05-21 17:17:12 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.