[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to do an rcs revert?
From: |
Jim.Hyslop |
Subject: |
RE: how to do an rcs revert? |
Date: |
Thu, 15 Jul 2004 12:40:57 -0400 |
Mike wrote:
> Given a project a that has the path a/b/c/d and a file a/b/c/d/file1,
> you check in file1, then make a change, check in the change, then
> want to revert to the original version, how do you do it?
>
> This is like 'cd a/b/c/d ; co -r1.1 file1'.
Use the -p and -r options:
cvs update -p -r1.1 file1 > file1
then check it in again.
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)