Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

We just made the project StatHG publicly available. The project had the goal to develop a tool to extract statistical information from a Mercurial repository and build reports about the work done within a group of developers in a similar spirit as StatCVS. Please take a look and see if it fits your needs. If it doesn’t let us know so we can list the requirements on the TODO list. Thanks for any feedback we can get!

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.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top