[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Stats for a file.

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Wed, 12 Mar 2008 11:34:16 -0400

>>>>> "Gavin" == Gavin Baumanis <Gavin> writes:

 Gavin> Hi Everyone, i would a report of some description that will
 Gavin> display how many lines were edited in a particular set of
 Gavin> files between two revisions. I.e. 1000 lines (combined total)
 Gavin> were edit between revision X and HEAD in a, b, c, d, e, files.

 Gavin> And of course, if it is all possible what might be the
 Gavin> required syntax to obtain such information!

 svn diff -r rev1:rev2 file | egrep '^[-+][^-+]' | wc -l

      paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-12 16:42:30 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.