[Top][All Lists]

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

Re: rollback/revert changes?

From: Eric Siegerman
Subject: Re: rollback/revert changes?
Date: Thu, 23 Nov 2000 19:26:57 -0500
User-agent: Mutt/1.2.5i

On Thu, Nov 23, 2000 at 08:16:49PM -0500, Nick Papadonis wrote:
> Anyone know of a better/easier way of rolling back to a previous file
> version other then the following sequence:
> cvs update -rver file.c
> mv file.c file.c.older
> cvs update -A file.c
> mv file.c.older file.c
> cvs commit -m "reverting to prev version" file.c

        cvs update -p -rver file.c >file.c
        cvs commit -m "reverting to prev version" file.c

Still a kludge, but a shorter one :-)


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Nobody ever got fired for buying Microsoft -- but they could get
fired for relying on Microsoft.
        - Chris Garrigues

reply via email to

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