2010-10-07 11 views

Répondre

5

Utilisez quelque chose comme:

hg log --user [email protected] | grep --count "user" # UNIX or Windows with grep installed. 
hg log --user [email protected] | find /c "user" # Windows. 

Si votre grep ne dispose pas d'une option --count, il peut bien avoir une option -c équivalente.

+2

mieux vaut utiliser 'log -q | wc -l' – tonfa

5

J'utiliserais le churn extension qui génère de jolis histogrammes pour cela. Cela ressemble à ceci pour l'un de mes dépôts:

$ hg churn --changesets 
[email protected]    1034 ****************************************** 
[email protected]    132 ***** 
[email protected]     102 **** 
[email protected]  87 **** 
[email protected]     32 * 
[email protected]    15 * 
[email protected]    13 * 
[email protected]     10 
[email protected]    6 
[email protected]    5 
[email protected]     1 
Marc X. Makkes     1