Re: CVS commit wrong version



Hello,

On Fri, 8 Jul 2005, Leonard den Ottolander wrote:

> Hi,
>
> For some reason the revision for NEWS in my local PRE tree got replaced
> with the version for HEAD in CVS/Entries. Hence I've now wrongly updated
> NEWS in HEAD with a version ment for PRE.
>
> How do I correct this last commit? Can I revert the version or do I just
> recommit the previous version?

You can use the following commands to revert the changes:

  cvs update -j new_ver -j old_ver NEWS
  cvs commit NEWS

new_ver -> the latest (wrong) version of NEWS i.e. can be HEAD
old_ver -> the version to which you want to revert




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