[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to do an rcs revert?
From: |
Larry Jones |
Subject: |
Re: how to do an rcs revert? |
Date: |
Fri, 16 Jul 2004 09:53:28 -0400 (EDT) |
Jim.Hyslop writes:
>
> 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?
>
> Use the -p and -r options:
>
> cvs update -p -r1.1 file1 > file1
>
> then check it in again.
Or use update with two -r options (note that the order is important):
cvs update -rHEAD -r1.1 file1
then check it in again.
-Larry Jones
I think my cerebellum just fused. -- Calvin