Counting changed lines of code over time

Gerald Senarclens de Grancy picture Gerald Senarclens de Grancy · Jun 16, 2010 · Viewed 16.5k times · Source

Is there any good tool that computes the number of changed lines of code over a certain time period in a mercurial repository? Something along the lines of statsvn would be great, but anything counting the number of changed lines of code within 6 months will do (including a clever combination of arguments to hg log). Thanks.

PS: Please do not discuss the purpose of measuring this number ;)

Answer

Ry4an Brase picture Ry4an Brase · Jun 16, 2010

The hg churn extension is what you want.

You can get visual results with hg activity or hg chart.