views:

220

answers:

3

In the CVS/SVN world, there are various statistics/metrics tools. E.G., StatCVS, StatSVN. There are others I've seen.

However, I've not seen similar statistics and visualizations for Mercurial(aka hg).

(1) Are there any out there?

(2) If so, what are they?

Thanks.

A: 

not sure, but your best bet is to ask on the Mercurial mailing list.

Hg is still relatively new so it's "behind" SVN when it comes to tools.

Jason S
+3  A: 

Well as an initial tool, there's the churn extension that get's you some basic statistics about repository. For details on how to activate and use it see ChurnExtension on the mercurial wiki.

If you are interested in a specific (group of) changesets and what files the change, then diffstat is also a good help.

Marijn
I've looked at churn, and it doesn't seem very usable for what I'm looking for.
Paul Nathan
A: 

Distributed version control systems such as Mercurial are often used in a way that produces a complex history with lots of merges. That makes some of the plots that StatCVS produces such as lines of code against time harder to read.

Dickon Reed
Yeah, it's not as "clean" as the CVS model. Still though, I'd like to be able to do some nice stats such as a detailed churn readout.
Paul Nathan
@dickon: it's still possible to gather useful stats from dvcs. see gitstat: http://mirror.celinuxforum.org/gitstat/
Mauricio Scheffer