CVS does not record the number of lines in a newly-added file. For
example:

% cat > newfile.c
line 1
line 2
line 3
% cvs add newfile.c 
cvs add: use `cvs commit' to add this file permanently
% cvs ci -m "File added." newfile.c 
/var/lib/cvs/cvs_test/newfile.c,v  <--  newfile.c
initial revision: 1.1
% cvs log newfile.c
[...]
revision 1.1
date: 2005-02-15 01:34:44 +0000;  author: neilc;  state: Exp;
File added.

I would like to see "lines: +3 0" associated with revision 1.1. It is
possible to get the number of lines modified via a kludge (fetch the 1.1
revision of the file and manually count the number of lines in it), but
I think it would be reasonable for CVS to provide this information
itself.

Let me know if you would be open to this modification, I would be happy
to submit a patch.

-Neil




_______________________________________________
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs

Reply via email to