You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by cifroes <ci...@netcabo.pt> on 2005/05/09 19:03:15 UTC
Count lines added by author X
Hi,
I know blame can say which author modified line X. Using that
information i would like to count all lines made by author X, Y and Z in
the whole project...
Is there a simple "statistics" aplication that already does this or some
kind of script?
Just wanna prove i work more than other people in my team :P lol
Thanks in advance,
Cifroes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Count lines added by author X
Posted by Dale Worley <dw...@pingtel.com>.
> From: cifroes [mailto:cifroes@netcabo.pt]
>
> Using that
> information i would like to count all lines made by author X, Y and Z in
> the whole project...
>
> Is there a simple "statistics" aplication that already does
> this or some kind of script?
Well, this seems to work for me:
svn status -v |
grep -v '^\?' |
cut -c 41- |
xargs -n1 svn blame |
awk '{print $2}' |
sort |
uniq -c
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org