info-cvs
[Top][All Lists]
Advanced

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

Re: CVS history


From: Todd Denniston
Subject: Re: CVS history
Date: Mon, 05 Dec 2005 14:43:42 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

address@hidden wrote:
Hi I am trying to write a java program which will
1. execute CVS history command from Java program
2. read all the entries which are newly added after the previous
execution of the program.
Actually this program will run daily tied to a cronjob and produce a
report on all the actions performed on daily basis.
Can anyone help me on this.
Thanks and Regards,
Aman.

You might be ahead to start by either using or getting inspiration from cvs2cl[1]. It might be easier for your program to parse cvs2cl's XML output than to gather up all the info from cvs log||history and build the data yourself.

Note that cvs2cl uses cvs log not cvs history so you will not see information from commands like checkout, release, or rtag in cvs2cl's output.

BTW why are you interested in the info from the cvs history command? The data from cvs log usually better represents changes to the code (which I believe is the more important thing for most of us).


[1] from either cvs2cl.pl from http://www.red-bean.com/cvs2cl/ for Unix 
platforms
   or the cvs2cl.py with CVSNT (if you are on windows).





reply via email to

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