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 ???

Something like this:


      # make sure you don't have any sticky tags
      cvs update -A file.ext
      # get the older revision without setting a sticky tag
      # (see the documentation for update -p)
      cvs update -r <old-rev> -p file.ext >file.ext
      # edit the file

      # commit the "new" revision, which is identical to "old-rev"
      cvs commit file.ext

Just make sure you're not wiping out any modifications that you *didn't*
want to trashcan!

Reply via email to