info-cvs
[Top][All Lists]
Advanced

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

RE:how to roll-back whole commit operation


From: Matthew Herrmann
Subject: RE:how to roll-back whole commit operation
Date: Tue, 16 Sep 2003 15:10:28 +1000

Hi Craig,

Can't think of an easy way of doing it with cvs out of the box. Try this
tool we developed at our shop which I use very frequently for this precise
purpose:

http://www.matt.faredge.com.au/htmlchangelog.zip

You need to have cvs2cl installed on your pc. It will basically use that
internally to extract a commit-by-commit changelog in xml.

Once you run it, it generates a nice looking webpage of changes, where you
can output the cvs statements to roll back, roll forward (to move changes
between branches) or diff (for code review).

If you're not on windows, you'll need to rewrite the wrapper batch files for
linux but that should be pretty straightforward.

HTH,


Matthew Herrmann
--------------------------------------
VB6/SQL/Java/CVS Consultancy
Far Edge Technology
http://www.faredge.com.au/

------------------------------

Message: 9
Date: Mon, 15 Sep 2003 12:58:44 -0400
From: "Dickson, Craig" <address@hidden>
Subject: how to roll-back whole commit operation
To: "CVS List (E-mail)" <address@hidden>
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

What is the easiest way to roll-back a commit operation? I know when the
commit happened and nothing has changed on that branch since the commit
happened? I could use update with 2 -j options, but there is over 150
changes in the commit, so I would have to do it once for each file if I
understand it correctly since they all have difference revision numbers. Is
there are way to update my working directory "backwards" so to speak?





reply via email to

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