CVS commit wrong version
Pavel Tsekov
ptsekov at gmx.net
Fri Jul 8 14:08:06 UTC 2005
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
More information about the mc-devel
mailing list