Mercurial > hg-stable
changeset 9254:db13255617b3
churn: wrap docstrings at 70 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 26 Jul 2009 01:41:31 +0200 |
parents | d6d811d90976 |
children | acfbb88c6ced |
files | hgext/churn.py |
diffstat | 1 files changed, 12 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/churn.py Sun Jul 26 01:40:37 2009 +0200 +++ b/hgext/churn.py Sun Jul 26 01:41:31 2009 +0200 @@ -94,13 +94,15 @@ 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 @@ # 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:: <alias email> <actual email> - 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]