template: pass all mapping data to showlist()
Otherwise a keyword depending on repo or ctx couldn't be rendered.
--- a/hgext3rd/evolve/__init__.py Wed Apr 19 21:37:28 2017 +0900
+++ b/hgext3rd/evolve/__init__.py Wed Apr 19 21:12:09 2017 +0900
@@ -432,9 +432,10 @@
return ''
@eh.templatekw('troubles')
-def showtroubles(repo, ctx, **args):
+def showtroubles(**args):
""":troubles: List of strings. Evolution troubles affecting the changeset
(zero or more of "unstable", "divergent" or "bumped")."""
+ ctx = args['ctx']
return templatekw.showlist('trouble', ctx.troubles(), plural='troubles',
**args)