info-cvs
[Top][All Lists]
Advanced

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

Re: Corrupted files in ATTIC


From: Eric Siegerman
Subject: Re: Corrupted files in ATTIC
Date: Thu, 16 May 2002 13:22:22 -0400
User-agent: Mutt/1.2.5i

On Thu, May 16, 2002 at 12:23:40PM -0400, Harig, Mark A. wrote:
> I have some files in Attic directories that have their 'state' set to
> 'Exp' for the head revision.  The revision prior to the head revision
> has the state set to 'dead'.  For example:
> 
> 1.5
> date    2002.01.14.14.42.52;    author foo;        state Exp;
> branches;
> next    1.4;
> 
> 1.4
> date    2001.11.19.13.46.18;    author bar; state dead;
> branches;
> next    1.3;
> 

Are the files *supposed* to be live or dead?  If they're supposed
to be live, just move the ,v files out of the Attic:
        cd $CVSROOT/.../Attic
        mv foo,v ..
Make sure you're not clobbering an existing ../foo,v of course.

If they're supposed to be dead, do the above, then redelete them:
        cd <sandbox>/...
        cvs update foo
        cvs rm -f foo
        cvs ci foo

> [...] I would like to know if there is a way to fix
> the problem using cvs commands (of course, I'd rather not delete the
> latest revisions using 'cvs admin -o').

Possibly, but I doubt it.  CVS's data structures are corrupt, so
I doubt CVS can fix it.  Fortunately, it's a benign sort of
corruption that's easily fixed by means external to CVS :-)

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben



reply via email to

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