-----Original Message-----
From: Larry Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 01, 2000 2:13 PM
To: TC
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Entries Files with a Tag line item prevents Commit --WHY
???


TC writes:
> 
> So What is the CVS correct way to revert to a previous revision
> & edit it, & then have this new edit version of the previous revision
> become the HEAD for this file ???

1) Get a checked-out copy of the current version of the file.
2) Change the contents to what you want them to be.
3) Commit the changes.

This should look familiar. :-)

The easiest way to accomplish step 2 is to either use cvs update with
two -j options to reverse all the changes that you don't want any more:

        cvs up -j HEAD -j 1.2 file

or use cvs update with -p and redirect the output into the file:

        cvs up -r 1.2 -p file >file

-Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin




Reply via email to