info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correcting repository corruption


From: Mark E. Hamilton
Subject: Correcting repository corruption
Date: Wed, 26 Jul 2006 15:38:17 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920

Hi,

We've been using check_cvs (from the 1.11 CVS version) for some time to keep an eye on things in our repositories. Recently a repository that was previously unreadable by the user running the script was changed to be readable; this started reporting some new errors, because it seems that check_cvs doesn't deal well with files that contain spaces or dollar signs in the name, and the newly readable repository has both. I made some changes to correct that, and check_cvs then reported additional new errors in repositories that had previously not shown any errors. The issue of why it is now reporting errors in these repositories I can track down.

The more pressing issue is how to correct these rlog errors shown below. I've checked the backups as far back as I can conveniently do so, and the errors exist there as well. I've looked at the ,v files and all the normal information seems to be there (as far as I can tell.)

This is complicated by the fact that two of these files are binary; the third is text. What I'd like to be able to do is just fix the error in the ,v file if possible. After that I can then commit an update to the file(s) if necessary. Are there any tools that can directly fix a copy of a ,v file? Can someone suggest a better approach to fixing this?


sahp6613% cvs -d:ext:<host>:/cvsroot/sntools_sierra rlog -N test/NS2D_BluntWedge_Lev2-out.exoII cvs [rlog aborted]: mismatch in rcs file /cvsroot/sntools_sierra/test/NS2D_BluntWedge_Lev2-out.exoII,v between deltas and deltatexts (1.1.1.1)

sahp6613% cvs -d:ext:<host>:/cvsroot/sntools_sierra rlog -N test/isltog.c
cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /cvsroot/sntools_sierra/test/isltog.c,v

sahp6613% cvs -d:ext:<host>:/cvsroot/sntools_sierra rlog -N test/Python-2.2.2.tar.gz cvs [rlog aborted]: unexpected '\x2a' reading revision number in RCS file /cvsroot/sntools_sierra/test/Python-2.2.2.tar.gz,v


--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666





reply via email to

[Prev in Thread] Current Thread [Next in Thread]