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

Re: cvs log equivalent

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 18 Mar 2011 20:21:43 -0500

On Fri, Mar 18, 2011 at 6:13 PM, Paul Graham <pgraham_at_oasys-ds.com> wrote:
> I could find all the change versions of a file, then do an svn diff for each change, then parse the output and determine the number of changes, but that seems excessive :-)
>
> rcs has this lines+/- information directly in the database.  Is svn organized differently under the hood?

Significantly.

One thing I usually do is run svn diff on the revision of interest and
then pipe that through diffstat:

$ svn diff -c1089374 | diffstat

That will usually yield sufficiently interesting result for my application.

-Hyrum
Received on 2011-03-19 02:22:16 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.