diff --git a/mercurial/templater.py b/mercurial/templater.py --- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -227,8 +227,6 @@ def runsymbol(context, mapping, key): v = '' if callable(v): return v(**mapping) - if isinstance(v, types.GeneratorType): - v = list(v) return v def buildtemplate(exp, context):