[Cialug] Huge CVS rollback

Kendall Bailey krbailey at gmail.com
Fri Jun 13 15:49:25 CDT 2008


I believe the right way to revert a change is to use two -j flags.
Something like this

# get the HEAD
cvs co module
# update it to revert the changes
cvs update -j HEAD -j <tag>
# commit it back
cvs commit

So if there's no tag on the version you want to revert to, then check
that out first using a -D and tag it.  Then do the above to revert the
HEAD back to the tag.  I haven't done this with a huge changeset that
includes file deletions but I think its the proper CVS approach...

Kendall


More information about the Cialug mailing list