Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2007-01-17 19:00:23
Size: 677
Comment: Describe churn extension
Revision 7 as of 2009-05-19 19:30:56
Size: 878
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
''Author: Josef "Jeff" Sipek''
Line 5: Line 7:
This extension creates a graph showing who changed the most lines in a commit. This extension creates a graph showing the number of line changes per user for a given repository or file.
Line 14: Line 16:
churn=/path/to/churn.py hgext.churn=
#or, if churn.py is not in the hgext dir:
#churn=/path/to/churn.py
Line 23: Line 27:

Example:

{{{hg churn -r 200:300 -a test.py}}}


----
CategoryExtension

Churn extension

This extension is currently being distributed along with Mercurial.

Author: Josef "Jeff" Sipek

Overview

This extension creates a graph showing the number of line changes per user for a given repository or file.

It adds the churn command.

Configuration

Just add a new entry in the extensions section of the mercurial configuration file (hgrc):

[extensions]
hgext.churn=
#or, if churn.py is not in the hgext dir:
#churn=/path/to/churn.py

An aliases map file can be provided to convert recorded emails to any other desired content. The aliases file has one alias per line in the following format: <alias email> <actual email>

Usage

hg churn [-r revision range] [-a file] [--progress]

Example:

hg churn -r 200:300 -a test.py


CategoryExtension

ChurnExtension (last edited 2020-09-26 08:27:08 by aayjaychan)