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: Larry Jones
Subject: Re: Discarding changes from one revision and committing changes...
Date: Thu, 30 Jan 2003 10:41:27 -0500 (EST)

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
        vi file                     # make whatever other changes you want
        cvs ci file                 # check it in

-Larry Jones

He's just jealous because I accomplish so much more than he does. -- Calvin




reply via email to

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