[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs roll back utility
From: |
Matthew Rich |
Subject: |
Re: cvs roll back utility |
Date: |
Thu, 10 Jan 2008 09:19:25 -0800 (PST) |
Where do you find this commitid?
ALso is there something similar to this for an update? I.e. someone updated an
existing tree in error. Is there a way to return to the previous tree? Just
wondering.
----- Original Message ----
From: Arthur Barrett <address@hidden>
To: Ravindra Rathi <address@hidden>; address@hidden
Sent: Thursday, January 10, 2008 5:23:06 AM
Subject: RE: cvs roll back utility
Rathi,
> Recently I wanted to roll back bunch of files to
> previous CVS revision.
> Since there is no quick way to do it, I did a quick search on
CVSNT (GPL, unix/windows/etc) introduced the conecpt of a 'commit id' a
unique number for each commit - you can use this to 'rollback' to the
previous revision.
Eg (something like):
cvs update -j @commitid -j "<@commitid" filename or modulename
I believe that CVS 1.12 has backported some or all of this
functionality, but you'll have to check the manual.
Regards,
Arthur