Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-04-14 Thread Yuya Nishihara
On Sat, 14 Apr 2018 20:50:19 +0800, Anton Shestakov wrote: > On Sat, 14 Apr 2018 21:03:23 +0900 > Yuya Nishihara wrote: > > > +def formatnode(ctx): > > > +return ' %s (%s)' % (scmutil.formatchangeid(ctx), > > > ctx.phasestr()) > > > > Nit: leading ' ' isn't nice when you join() the

Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-04-14 Thread Anton Shestakov
On Sat, 14 Apr 2018 21:03:23 +0900 Yuya Nishihara wrote: > On Sat, 14 Apr 2018 19:43:15 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1522054812 -28800 > > # Mon Mar 26 17:00:12 2018 +0800 > > # Node ID 987c05eac1801d0b919c874280d03f9e8cccb411

Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-04-14 Thread Yuya Nishihara
On Sat, 14 Apr 2018 19:43:15 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1522054812 -28800 > # Mon Mar 26 17:00:12 2018 +0800 > # Node ID 987c05eac1801d0b919c874280d03f9e8cccb411 > # Parent 8bacc09814ba5500d15fb40c472e84cb95ae2f99 > templates: add w

Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-04-14 Thread Anton Shestakov
On Mon, 26 Mar 2018 22:13:18 +0900 Yuya Nishihara wrote: > On Mon, 26 Mar 2018 19:55:20 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1522054812 -28800 > > # Mon Mar 26 17:00:12 2018 +0800 > > # Node ID 123d9e4d706909c8912f11acee292735c0fb283c

[PATCH 1 of 2] templates: add whyunstable template keyword

2018-04-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1522054812 -28800 # Mon Mar 26 17:00:12 2018 +0800 # Node ID 987c05eac1801d0b919c874280d03f9e8cccb411 # Parent 8bacc09814ba5500d15fb40c472e84cb95ae2f99 templates: add whyunstable template keyword diff --git a/mercurial/templatekw.py b/mercu

Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-03-26 Thread Anton Shestakov
On Mon, 26 Mar 2018 22:13:18 +0900 Yuya Nishihara wrote: > Can you hold off this series for 2-3 weeks? Sure, I'll do that. > I have long series which will > add a wrapper for a list of template mappings. Basically it will allow us > to write the default string representation as template: > >

Re: [PATCH 1 of 2] templates: add whyunstable template keyword

2018-03-26 Thread Yuya Nishihara
On Mon, 26 Mar 2018 19:55:20 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1522054812 -28800 > # Mon Mar 26 17:00:12 2018 +0800 > # Node ID 123d9e4d706909c8912f11acee292735c0fb283c > # Parent 6f570c501e3ebc3d9b59920f50ed7523d93cb847 > templates: add w

[PATCH 1 of 2] templates: add whyunstable template keyword

2018-03-26 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1522054812 -28800 # Mon Mar 26 17:00:12 2018 +0800 # Node ID 123d9e4d706909c8912f11acee292735c0fb283c # Parent 6f570c501e3ebc3d9b59920f50ed7523d93cb847 templates: add whyunstable template keyword diff --git a/mercurial/templatekw.py b/mercu