diff -r 05167447f90d -r 46f45b7efa30 mercurial/templater.py --- a/mercurial/templater.py Sat Sep 30 05:22:22 2017 +0530 +++ b/mercurial/templater.py Sat Sep 30 15:46:36 2017 +0530 @@ -1371,6 +1371,7 @@ def render(self, mapping): """Render the default unnamed template and return result as string""" + mapping = pycompat.strkwargs(mapping) return stringify(self('', **mapping)) def __call__(self, t, **mapping):