info-cvs
[Top][All Lists]
Advanced

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

Re: Discarding changes from one revision and committing changes...


From: Eric Siegerman
Subject: Re: Discarding changes from one revision and committing changes...
Date: Thu, 30 Jan 2003 13:17:52 -0500
User-agent: Mutt/1.2.5i

On Thu, Jan 30, 2003 at 10:41:27AM -0500, Larry Jones wrote:
> ADFH writes:
> > 
> > If X is at version 1.21, and I want to go to version 1.20, make some
> > changes, and then commit the file back as 1.22, how do I go about it?
> 
>       cvs up -A file              # get the current revision of the file
>       cvs up -j1.21 -j1.20 file   # back out the unwanted changes

To which I would add:
        cvs ci file                 # commit the back-out, *before* making the 
new changes

>       vi file                     # make whatever other changes you want
>       cvs ci file                 # check it in

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
A distributed system is one on which I cannot get any work done,
because a machine I have never heard of has crashed.
        - Leslie Lamport




reply via email to

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