info-cvs
[Top][All Lists]
Advanced

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

Re: How to back out a revision


From: Larry Jones
Subject: Re: How to back out a revision
Date: Wed, 20 Jun 2007 10:08:16 -0400 (EDT)

Huber, Robert writes:
> 
> How can the latest version/revision of file be removed and replaced with
> the correct file, e.g. program.c revision 1.4 is bad and revisions 1.3
> should be the tip so that when the next version of the file is committed
> it is 1.4.

Actually removing revisions is a very bad idea.  The right thing to do
is to undo the changes that were made in 1.4 and commit a new 1.5 that
is identical to 1.3.  See the manual for the easy way to do that:

        <http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_5.html#SEC62>

-Larry Jones

Something COULD happen today.  And if anything DOES,
by golly, I'm going to be ready for it! -- Calvin




reply via email to

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