[Top][All Lists]

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

RE: Unable to increment revision number

From: Dave Korn
Subject: RE: Unable to increment revision number
Date: Wed, 14 Sep 2005 11:36:03 +0100

----Original Message----
>From: Christopher Cheng
>Sent: 14 September 2005 04:49

> The bad news is that even I use "commit -f [file]", the file is still in
> the repository and not in the Attic. Is there any way to destroy the file
> completely from cvs?

  That's easy, assuming that you have direct access to the filesystem where
the repository is based.  You can just delete the ",v" file; CVS will
immediately forget all about it, there is no other metadata that tracks the
history of an individual file.

  Still, as long as you're doing that, you may as well open the file in a
text editor and look through it.  The format is fairly self explanatory:
there are some headers and branch/revision info at the top, then there's a
full copy of the current HEAD revision of the file, and that's followed by
backwards anti-deltas from that to the earlier revisions.  It's quite
possible that you may be able to spot, for example, a chunk of lines that
have been somehow duplicated, and just cutting them out might repair the

  You should, however, still be very very worried indeed about how it got
that way in the first place.  It seems likely you have a disk fault.

Can't think of a witty .sigline today....

reply via email to

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