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

Re: Fwd: svn Line Count metrics, counting line changes

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-03-29 00:27:10 CEST

Marc Sherman wrote:
> C. Michael Pilato wrote:
>
>>The svndbadmin tool that comes with ViewVC (and is used for populating a
>>Bonsai-like database of commit metadata) performs calculations of this sort
>>by running 'diff' on each modified file in a revision (against its prior
>>state), grepping for the line-count headers in that diff output, and doing
>>arithmetic stuffs with it. This tool is written to be run as a post-commit
>>tool, at which time it populates the Bonsai-ish database with the info that
>>one recent commit.
>
>
> This is getting OT, please let me know if I should take it off-list.
>
> Are the Bonsai-like features enabled on the tigris.org or server? If
> so, how does one access them?

They are not (yet). I do have them enabled on svn.collab.net, though. (See
the "query revision history" link on one of the directory views.)

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Mar 29 00:31:32 2006

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

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