Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2007-01-17 19:00:23
Size: 677
Comment: Describe churn extension
Revision 11 as of 2020-09-26 08:27:08
Size: 803
Editor: aayjaychan
Comment: remove nonexistent -a option in example
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 churn=
Line 22: Line 24:
{{{hg churn [-r revision range] [-a file] [--progress]}}} {{{hg churn [-d DATE] [-r REV] [--aliases FILE] [FILE]}}}

Example:

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

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]
churn=

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 [-d DATE] [-r REV] [--aliases FILE] [FILE]

Example:

hg churn -r 200:300 test.py


CategoryBundledExtension

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