Mojahedul Hoque Abul Hasanat wrote:

> I am new to CVS. I committed a few changes. Now I want to revert the
> changes and go back to a tagged revision. Of course I can checkout that
> release and work on it. But what I want is to rollback the commits, and
> bring the repository to the previous state.
> 
> In other words, I want to remove any changes in the repository after that
> tag. Is this possible?

You can check out the latest revision, and then replace files with
other versions using e.g.

        cvs update -p -r 1.2 foo.c > foo.c

This won't add any sticky tags to foo.c, so when it is checked in, it
will be checked in as the current version.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to