info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cvs roll back utility


From: Lemke, Michael SZ/HZA-ZIOM1
Subject: RE: cvs roll back utility
Date: Thu, 10 Jan 2008 11:46:13 +0100

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

[Prev in Thread] Current Thread [Next in Thread]