Patchwork [STABLE] churn: use the non-deprecated template option in the examples

login
register
mail settings
Submitter Matt Harbison
Date May 9, 2017, 3:06 a.m.
Message ID <0921d3c7603004a2104f.1494299168@Envy>
Download mbox | patch
Permalink /patch/20538/
State Accepted
Headers show

Comments

Matt Harbison - May 9, 2017, 3:06 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1494299101 14400
#      Mon May 08 23:05:01 2017 -0400
# Node ID 0921d3c7603004a2104fce0c9a5582c1b59291df
# Parent  707683d56e5cbd3fe3453ddab9a57222b998f2af
churn: use the non-deprecated template option in the examples
Ryan McElroy - May 9, 2017, 12:55 p.m.
On 5/9/17 4:06 AM, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1494299101 14400
> #      Mon May 08 23:05:01 2017 -0400
> # Node ID 0921d3c7603004a2104fce0c9a5582c1b59291df
> # Parent  707683d56e5cbd3fe3453ddab9a57222b998f2af
> churn: use the non-deprecated template option in the examples
>
> diff --git a/hgext/churn.py b/hgext/churn.py
> --- a/hgext/churn.py
> +++ b/hgext/churn.py
> @@ -133,7 +133,7 @@
>       Examples::
>   
>         # display count of changed lines for every committer
> -      hg churn -t "{author|email}"
> +      hg churn -T "{author|email}"
>   
>         # display daily activity graph
>         hg churn -f "%H" -s -c
>

This looks like an obvious easy win. Marked as pre-reviewed in patchwork.
Yuya Nishihara - May 9, 2017, 1:32 p.m.
On Tue, 9 May 2017 13:55:23 +0100, Ryan McElroy wrote:
> On 5/9/17 4:06 AM, Matt Harbison wrote:
> > # HG changeset patch
> > # User Matt Harbison <matt_harbison@yahoo.com>
> > # Date 1494299101 14400
> > #      Mon May 08 23:05:01 2017 -0400
> > # Node ID 0921d3c7603004a2104fce0c9a5582c1b59291df
> > # Parent  707683d56e5cbd3fe3453ddab9a57222b998f2af
> > churn: use the non-deprecated template option in the examples
> >
> > diff --git a/hgext/churn.py b/hgext/churn.py
> > --- a/hgext/churn.py
> > +++ b/hgext/churn.py
> > @@ -133,7 +133,7 @@
> >       Examples::
> >   
> >         # display count of changed lines for every committer
> > -      hg churn -t "{author|email}"
> > +      hg churn -T "{author|email}"
> >   
> >         # display daily activity graph
> >         hg churn -f "%H" -s -c
> >
> 
> This looks like an obvious easy win. Marked as pre-reviewed in patchwork.

Yeah, queued, thanks.

Patch

diff --git a/hgext/churn.py b/hgext/churn.py
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -133,7 +133,7 @@ 
     Examples::
 
       # display count of changed lines for every committer
-      hg churn -t "{author|email}"
+      hg churn -T "{author|email}"
 
       # display daily activity graph
       hg churn -f "%H" -s -c