Mercurial > public > mercurial-scm > hg-stable
diff hgext/churn.py @ 6666:53465a7464e2
convert comments to docstrings in a bunch of extensions
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 12 Jun 2008 11:33:47 +0200 |
parents | 7fc87fa485e5 |
children | fb42030d79d6 |
line wrap: on
line diff
--- a/hgext/churn.py Thu Jun 12 13:12:09 2008 +0200 +++ b/hgext/churn.py Thu Jun 12 11:33:47 2008 +0200 @@ -4,12 +4,7 @@ # # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -# -# -# Aliases map file format is simple one alias per line in the following -# format: -# -# <alias email> <actual email> +'''allow graphing the number of lines changed per contributor''' from mercurial.i18n import gettext as _ from mercurial import mdiff, cmdutil, util, node @@ -137,7 +132,11 @@ return stats def churn(ui, repo, **opts): - "Graphs the number of lines changed" + '''graphs the number of lines changed + + The map file format used to specify aliases is fairly simple: + + <alias email> <actual email>''' def pad(s, l): if len(s) < l: