Patchwork help: fix formatting of template example

login
register
mail settings
Submitter Steve Hoelzer
Date Dec. 11, 2013, 5:39 p.m.
Message ID <CACbrTHdiiLC_t0eqVTYQw4yAJ=d1CYwefS1BSK0Q3eBs04mApw@mail.gmail.com>
Download mbox | patch
Permalink /patch/3212/
State Accepted
Commit 574f3b6e0e8b972dd4a0d3a97fba7771da20b721
Headers show

Comments

Steve Hoelzer - Dec. 11, 2013, 5:39 p.m.
# HG changeset patch
# User Steve Hoelzer <shoelzer@gmail.com>
# Date 1386783238 21600
#      Wed Dec 11 11:33:58 2013 -0600
# Node ID c44c3a30fb8663aaee697c577b6da1f98555263a
# Parent  1c92524c37cdd251c1a36b2da0fb4148b0e6ba09
help: fix formatting of template example
Augie Fackler - Dec. 13, 2013, 5:44 p.m.
On Wed, Dec 11, 2013 at 11:39:53AM -0600, Steve Hoelzer wrote:
> # HG changeset patch
> # User Steve Hoelzer <shoelzer@gmail.com>
> # Date 1386783238 21600
> #      Wed Dec 11 11:33:58 2013 -0600
> # Node ID c44c3a30fb8663aaee697c577b6da1f98555263a
> # Parent  1c92524c37cdd251c1a36b2da0fb4148b0e6ba09
> help: fix formatting of template example

queued this, thanks for fixing the description for me

>
> diff -r 1c92524c37cd -r c44c3a30fb86 mercurial/help/templates.txt
> --- a/mercurial/help/templates.txt Sun Dec 01 21:24:48 2013 -0600
> +++ b/mercurial/help/templates.txt Wed Dec 11 11:33:58 2013 -0600
> @@ -105,4 +105,4 @@
>
>  - Display the contents of the 'extra' field, one per line::
>
> -  $ hg log -r 0 --template "{join(extras, '\n')}\n"
> +   $ hg log -r 0 --template "{join(extras, '\n')}\n"
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
Matthew Turk - Dec. 13, 2013, 5:46 p.m.
On Fri, Dec 13, 2013 at 12:44 PM, Augie Fackler <raf@durin42.com> wrote:
> On Wed, Dec 11, 2013 at 11:39:53AM -0600, Steve Hoelzer wrote:
>> # HG changeset patch
>> # User Steve Hoelzer <shoelzer@gmail.com>
>> # Date 1386783238 21600
>> #      Wed Dec 11 11:33:58 2013 -0600
>> # Node ID c44c3a30fb8663aaee697c577b6da1f98555263a
>> # Parent  1c92524c37cdd251c1a36b2da0fb4148b0e6ba09
>> help: fix formatting of template example
>
> queued this, thanks for fixing the description for me

For what it's worth, this patch series is somewhat related:

http://www.selenic.com/pipermail/mercurial-devel/2013-November/054928.html

I sent out two series that day and the second was scrapped, but I
think this one may still be valid and helpful.

-Matt

>
>>
>> diff -r 1c92524c37cd -r c44c3a30fb86 mercurial/help/templates.txt
>> --- a/mercurial/help/templates.txt Sun Dec 01 21:24:48 2013 -0600
>> +++ b/mercurial/help/templates.txt Wed Dec 11 11:33:58 2013 -0600
>> @@ -105,4 +105,4 @@
>>
>>  - Display the contents of the 'extra' field, one per line::
>>
>> -  $ hg log -r 0 --template "{join(extras, '\n')}\n"
>> +   $ hg log -r 0 --template "{join(extras, '\n')}\n"
>> _______________________________________________
>> Mercurial-devel mailing list
>> Mercurial-devel@selenic.com
>> http://selenic.com/mailman/listinfo/mercurial-devel
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff -r 1c92524c37cd -r c44c3a30fb86 mercurial/help/templates.txt
--- a/mercurial/help/templates.txt Sun Dec 01 21:24:48 2013 -0600
+++ b/mercurial/help/templates.txt Wed Dec 11 11:33:58 2013 -0600
@@ -105,4 +105,4 @@ 

 - Display the contents of the 'extra' field, one per line::

-  $ hg log -r 0 --template "{join(extras, '\n')}\n"
+   $ hg log -r 0 --template "{join(extras, '\n')}\n"