[Lvlug] RCS: Totally reverting (removing) a revision

Randy Kramer rhkramer at gmail.com
Thu Sep 22 13:39:39 EDT 2005


On Thursday 22 September 2005 01:06 am, Pat Regan wrote:
> Randy Kramer wrote:
> > I'm learning a little more about RCS and have a question--is there a(n
> > easy / supported) way to totally remove and destroy all evidence of a
> > revision (from the ,v file)?
>
> rcs -orevision filename
>
> seems to work.  I was actually surprised to find it.

Pat,

Wonderful, thanks!

In my first little experiment it left a slight trace of the removed revision:

I removed r1.2 from a ,v with three versions (r1.1, r1.2, and r1.3)--it seemed 
to do all the right things except there is a trace left of r1.2 in that the 
first version in the , v file is now r1.1 (with the correct content) and the 
third version in the file is r1.3 (with the correct content).

I suspect (but don't have the opportunity to try right now) that if I 
attempted to remove the last version, it would do all the right things.  

regards,
Randy Kramer


More information about the Lvlug mailing list