[Top][All Lists]

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

RE: CVS diffs

From: Zieg, Mark
Subject: RE: CVS diffs
Date: Mon, 12 May 2003 11:07:54 -0400

Or this:

(esp. the --table option)

-----Original Message-----
From: Mark D. Baushke [mailto:address@hidden
Sent: Friday, May 09, 2003 6:05 AM
To: Pitfield, Nickolas
Cc: address@hidden
Subject: Re: CVS diffs

Hi Nick,

I believe you will find the 'cvs log' command to be very useful.
Included for each version is the 'lines: +n -m' which is a count of the
lines that have been added and removed from the previous version of the
file. The same line has the date: and author: fields.

All that said, you may find the 'CVS Statistics Generator' does most of
what you need:

It generates some fairly nice statistics.

        -- Mark

Pitfield, Nickolas <address@hidden> writes:

> Greetings,
> I've been asked to provide some metrics on code churn for one of our
> projects - the source of which resides in CVS: the server is on SuSE 7.2
> and the clients are on Solaris 8 (cvs v1.10) and Win2K (wincvs 1.3).
> What I've been asked to provide is the weekly code churn (number of lines
> changed/added/deleted as a percentage of total code size). This is
> from the head 5 months ago until a particular release was branched, and
> for that particular branch to the present).
> I'm relatively new to CVS. I can figure out the date/branch-related stuff,
> but am not sure about the diffing at all. I can see nothing in Cederqvist
> about diffs of this metric-gathering nature, only diffs for
> patch-application purposes - in fact all the diff variants I'm aware of
> no metrics gathering stuff that I've seen. Are there any options to get
> info out of cvs diff/rdiff, or am I going to have to hack the diff output
> Not being Python literate I'll be writing a bash/ksh script for this.
> Regards.
>     Nick Pitfield
> Configuration Management Engineer
> T: +44 (0)20 7348 1569 E: address@hidden
> MetaSolv Software Limited
> Avon House, Kensington Village, Avonmore Road, London W14 8TS
> T: +44 (0)20 7348 1500 F: +44 (0)20 7348 1501
> _______________________________________________
> Info-cvs mailing list
> address@hidden

Info-cvs mailing list

reply via email to

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