About stats

Frank Abel Cancio Bello frank.abel.cb at gmail.com
Sat Apr 11 14:04:47 CDT 2009


Thanks a lot for all reply.

Cheers
Frank Abel

On Sat, 2009-04-11 at 19:05 +0200, Martin Geisler wrote:
> Frank Abel Cancio Bello <frank.abel.cb at gmail.com> writes:
> 
> > Hi all,
> >
> > Exist any tool to get stats from Mercurial? Whatever stats, changeset
> > peer user,
> 
> There is the churn extension distributed with Mercurial -- here I make a
> histogram with the number of commits per contributor to Mercurila:
> 
> % hg churn -c
> mpm at selenic.com                           2042 *****************************
> thomas at intevation.de                       933 *************
> benoit.boissinot at ens-lyon.org              582 ********
> brendan at kublai.com                         556 *******
> alexis at cecm.usp.br                         533 *******
> vadim.gelfer at gmail.com                     476 ******
>   ...
> diemer at gmx.de                                1
> guichaz at yahoo.fr                             1
> 
> > line code peer user,
> 
> You get the number of lines changed per user by dropping the -c.
> 
> > lines added, removed and changed between revisions, etc.
> 
> You can use the normal 'hg diff' command for this:
> 
> % hg diff --rev 1.2.1:tip | diffstat
>  .hgsigs                                                    |    1
>  .hgtags                                                    |    1
>  Makefile                                                   |   10
>  contrib/mergetools.hgrc                                    |    2
>   ...
>  tests/test-verify.out                                      |   13
>  158 files changed, 15719 insertions(+), 3413 deletions(-)
> 
> 
> You can also use the activity extension:
> 
>   http://labs.freehackers.org/wiki/hgactivity
> 
> or maybe this script I made some time ago:
> 
>   http://bitbucket.org/mg/hgchart/wiki/Home
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list