diff -r 9261f6c1d39b -r c000eff2c635 mercurial/templater.py --- a/mercurial/templater.py Mon Nov 23 16:39:53 2020 -0800 +++ b/mercurial/templater.py Thu Nov 12 10:41:03 2020 -0800 @@ -451,7 +451,7 @@ def _runrecursivesymbol(context, mapping, key): - raise error.Abort(_(b"recursive reference '%s' in template") % key) + raise error.InputError(_(b"recursive reference '%s' in template") % key) def buildtemplate(exp, context):