[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to do an rcs revert?
From: |
Tyler |
Subject: |
Re: how to do an rcs revert? |
Date: |
Fri, 16 Jul 2004 10:29:51 -0700 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, Jul 16, 2004 at 09:53:28AM -0400, Larry Jones wrote:
> > 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.
Don't you mean two -j options?
cvs update -jHEAD -j1.1 file1
tyler