Search code examples
mercurial

Counting changed lines of code over time in a repository


Is there a way to obtain the number of changed lines of code over a certain time period in a mercurial repository? Something along the lines of what statsvn does 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).


Solution

  • The hg churn extension is what you want.

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