[NTLUG:Discuss] Off-Topic - CVS Query

Fred James fredjame at fredjame.cnc.net
Tue Nov 1 22:08:34 CST 2005


Stephen Davidson wrote:

>Greetings.
>
>Project I am on, looking to read some "metrics" from CVS for Quality
>Analysis.
>
>Does anyone know of a good tool that would get the number of lines of
>code change between 2 labels in CVS?
>
>Thanks,
>Steve
>  
>
Stephen Davidson
I found this under "CVS(1)" in the man(ual) pages.  Does that help?
Regards
Fred James

" diff  [-kl]  [rcsdiff_options]  [[-r  rev1  |  -D  date1] [-r rev2 | -D
       date2]] [files...]
              Requires: working directory, repository.
              Changes: nothing.
              You  can compare your working files with revisions in the 
source
              repository, with the `cvs diff' command.  If you don't 
specify a
              particular  revision, your files are compared with the 
revisions
              they were based on.  You can also use the standard  cvs  
command
              option -r to specify a particular revision to compare your 
files
              with.  Finally, if you use -r twice,  you  can  see  
differences
              between  two  revisions in the repository.  You can also 
specify
              -D options to diff against a revision in the past.  The  
-r  and
              -D  options  can be mixed together with at most two 
options ever
              specified.
 
              See rcsdiff(1) for a list of other accepted options.
 
              If you don't specify any files, diff  will  display  
differences
              for  all those files in the current directory (and its 
subdirec-
              tories, unless you use the standard option -l) that 
differ  from
              the  corresponding revision in the source repository (i.e. 
files
              that you have changed), or that differ from the revision  
speci-
              fied.
"




More information about the Discuss mailing list