[PATCH 7 of 7] templater: handle exception when applying map operator to non-iterable object

Yuya Nishihara yuya at tcha.org
Sat Mar 5 05:47:11 EST 2016


On Fri, 04 Mar 2016 11:06:30 -0800, Sean Farley wrote:
> Yuya Nishihara <yuya at tcha.org> writes:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1455425926 -32400
> > #      Sun Feb 14 13:58:46 2016 +0900
> > # Node ID 8e6ed4f20dbb321b06c974560bfd2f88eb369e26
> > # Parent  c5d854264cf4c299b3b85250809b788459a1faed
> > templater: handle exception when applying map operator to non-iterable object
> >
> > Before this, "{noniterable % template}" raised an exception. This tries to
> > provide a better indication for the common case, where a left-hand-side
> > expression is a keyword.
> 
> This series looks really great. I really like the tidying up of the arg
> type errors. Thanks!

Thanks. As this series shouldn't include controversial changes, I've pushed
them to the clowncopter.


More information about the Mercurial-devel mailing list