[Cialug] Huge CVS rollback

Kendall Bailey krbailey at gmail.com
Fri Jun 13 15:50:45 CDT 2008


Oops.  Small correction below.  Go into the module directory before
doing the update...


On Fri, Jun 13, 2008 at 3:49 PM, Kendall Bailey <krbailey at gmail.com> wrote:
> I believe the right way to revert a change is to use two -j flags.
> Something like this
>
> # get the HEAD
> cvs co module

cd 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