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

"no such revision" revisited

From: David Chin <david.w.h.chin_at_gmail.com>
Date: 2007-08-15 00:07:18 CEST

Hi,

I just recovered from a disk error, and I keep getting the error message:

    svnadmin: No such revision NNN

I read the thread here:

    http://svn.haxx.se/users/archive-2004-01/0327.shtml

but my case seems to be different.

Details:

  OS: Fedora Core 7 2.6.22.1-41.fc7PAE
  SVN version: 1.4.3 (r23084)
  HTTPd version: 2.2.4-4.1.fc7

My repository is in /opt/repos. If I look in /opt/repos/db/revs, I note
that there are missing files corresponding to revisions which are
reported missing: 119, 131, 141-149. The range 150-154 (latest)
has corresponding files in there.

If I ask for "svnadmin verify /opt/repos", it barfs on revision 119.
If I do "svnadmin recover /opt/repos", it ends with "Recovery completed."
and "The latest repos revision is 154." However, the missing revs
are still missing. If I try to dump the last available range,
"svnadmin dump -r 150:154 /opt/repos > /tmp/dump.out" I get:

    svnadmin: Can't open file '/opt/repos/db/revs/131': No such file
or directory

Anyone have suggestions on how to fix this? And also how to prevent
this occuring?

Thanks in advance,
  Dave Chin

-- 
Email: david.w.h.chin AT gmail.com    dwchin AT lroc.harvard.edu
Public key: http://david.w.h.chin.googlepages.com/crypto.html
pub   1024D/553CB7B8 2007-08-07 [expires: 2008-08-06]
      Key fingerprint = 0AD6 6DDC 204D AA4A 8957  52D1 0D93 C52A 553C B7B8
uid                  David Chin <david.w.h.chin AT gmail.com>
uid                  David Chin <dwchin AT lroc.harvard.edu>
uid                  David Chin <dwchin.lroc AT gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 15 00:05:19 2007

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