info-cvs
[Top][All Lists]
Advanced

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

Re: CVS - Removing the latest revision


From: Matthew Riechers
Subject: Re: CVS - Removing the latest revision
Date: Thu, 02 Aug 2001 13:33:05 -0400

Lamar Seifuddin wrote:
> 
> All,
> 
> I have several files that were copied from SCCS and checked into
> CVS.
> 
> Unfortunately, there were some files that were previously updated
> and checked into CVS.
> 
> How does one remove the latest revision of an "older" file to pick
> up the "newer" files
> 
> ex.     1.16    "older" file
>         1.15    "updated" file
> 
> thanks,
> 
> Lamar

You almost never want to actually delete a revision. If you want to
revert to the previous revision, do:

cvs update -j 1.16 -j 1.15 file

Order matters.

If you *REALLY* want to delete the revision, do 'cvs admin -o 1.15
file', but reverting is MUCH safer and unlike this, is reversable.

-Matt



reply via email to

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