[PATCH] churn: generalisation, now it is possible to see statistics grouped by custom template

Benoit Boissinot bboissin at gmail.com
Tue Oct 7 07:42:36 CDT 2008


On Mon, Oct 6, 2008 at 10:49 PM, Alexander Solovyov
<piranha at piranha.org.ua> wrote:
> # HG changeset patch
> # User Alexander Solovyov <piranha at piranha.org.ua>
> # Date 1222981658 -10800
> # Node ID 5432122bac187b397d197aa92e267cc030026b22
> # Parent  f29b674cc2210126c2899d94d882c367a8ea64bc
> churn: generalisation, now it is possible to see statistics grouped by custom template

I pushed it to crew with some modifications.

thanks,

Benoit
>
> -from mercurial.i18n import gettext as _
> +from mercurial.i18n import _

this didn't apply, did you diff with crew ?

> +def maketemplater(ui, repo, **opts):

I removed opts and made template an explicit argument.

> +          ('f', 'dateformat', '', _('strftime-compatible format for grouping by date')),

over 80 chars

> diff --git a/tests/test-churn b/tests/test-churn
> --- a/tests/test-churn
> +++ b/tests/test-churn
> @@ -30,4 +30,3 @@
>  hg churn --aliases ../aliases
>  echo % churn with column specifier
>  COLUMNS=40 hg churn
> -

spurious change


More information about the Mercurial-devel mailing list