[Top][All Lists]

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

How to determine the previous revision number?

From: Dickson, Craig
Subject: How to determine the previous revision number?
Date: Thu, 7 Aug 2003 18:42:43 -0400

I am trying to customize some change reports we generate using the CVS tools available in Ant - which basically means I can execute any arbitrary CVS command line.
The reports can already determine what revisions of each file were committed between 2 dates - using a log command. What I would like to do is report the previous revision number which is not easily obtained from the output from the log command. Is there a way from the log output to determine the previous revision number for any of the revisions committed in the log ouput for a single file? Or alternatively is there a known algorithm, that given a CVS revision number, can determine what the previous revision number was?
Not sure if I explained that clearly. :)

reply via email to

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