# HG changeset patch # User Martin Geisler # Date 2009-07-25 23:41:31 # Node ID db13255617b3562041a8231495d0c5a3af6025a3 # Parent d6d811d90976089eed1bdba5de1ba8588e11ea12 churn: wrap docstrings at 70 characters diff --git a/hgext/churn.py b/hgext/churn.py --- a/hgext/churn.py +++ b/hgext/churn.py @@ -94,13 +94,15 @@ def countrate(ui, repo, amap, *pats, **o def churn(ui, repo, *pats, **opts): '''histogram of changes to the repository - This command will display a histogram representing the number of changed - lines or revisions, grouped according to the given template. The default - template will group changes by author. The --dateformat option may be used - to group the results by date instead. + This command will display a histogram representing the number + of changed lines or revisions, grouped according to the given + template. The default template will group changes by author. + The --dateformat option may be used to group the results by + date instead. - Statistics are based on the number of changed lines, or alternatively the - number of matching revisions if the --changesets option is specified. + Statistics are based on the number of changed lines, or + alternatively the number of matching revisions if the + --changesets option is specified. Examples:: @@ -116,13 +118,13 @@ def churn(ui, repo, *pats, **opts): # display count of lines changed in every year hg churn -f '%Y' -s - It is possible to map alternate email addresses to a main address by - providing a file using the following format:: + It is possible to map alternate email addresses to a main address + by providing a file using the following format:: - Such a file may be specified with the --aliases option, otherwise a - .hgchurn file will be looked for in the working directory root. + Such a file may be specified with the --aliases option, otherwise + a .hgchurn file will be looked for in the working directory root. ''' def pad(s, l): return (s + " " * l)[:l]