[Top][All Lists]

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

RE: how to rollback

From: Jim.Hyslop
Subject: RE: how to rollback
Date: Thu, 3 Feb 2005 11:07:18 -0500

Frank Zhu wrote: 
> If I commit a change that include multiple files, but later 
> need rollback this commit. How can do that provided I have a 
> labeled the repository before commit?
You want to use the -j options in CVS update.

Assuming you have the tags pre-commit and post-commit applied (with the
obvious meanings attached to the tags :=) then the command is:

cvs update -j post-commit -j pre-commit

Note that the most recent tag comes *first*.

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

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