info-cvs
[Top][All Lists]
Advanced

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

Re: Corrupted files in ATTIC


From: Larry Jones
Subject: Re: Corrupted files in ATTIC
Date: Thu, 16 May 2002 14:36:06 -0400 (EDT)

Eric Siegerman writes:
> 
> 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.

There won't be both a foo,v and and Attic/foo,v unless CVS is *really*
broken.  (It was a little broken or you wouldn't have ended up with live
files in the Attic, unless they were removed by a very old release of
CVS prior to the death support being added.  Since the previous revision
is dead, that's not very likely.)

> 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 :-)

If the files are supposed to be alive, then checking them out and
forcing a commit will cause recent versions of CVS to move them out of
the Attic.  (Old versions of CVS will error out in this case.)

-Larry Jones

My upbringing is filled with inconsistent messages. -- Calvin



reply via email to

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