Ravindra Rathi <> wrote on Thursday, January 10, 2008 7:13 AM:

> Hi,
>       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 web and didn't find any  wrapper script to do it.
> 
> Hence I wrote one and thought will share with everybody.
> Please find it attached. Mail me for any clarifications and
> feel free to improve on it.

Your script will fail on any first modified revision on a branch:
What is the predecessor of revision 1.1.2.1?  Depends on how it got
there - initial add or result of a merge.  There are probably more
cases I haven't thought of.  Anyway, attached is a much simplified 
version, which does exactly the same as yours.  So it's no real 
improvement.

Michael

Attachment: cvs_roll_back.sh
Description: cvs_roll_back.sh

Reply via email to