##// END OF EJS Templates
errors: raise InputError on recursive template definition...
Martin von Zweigbergk -
r46736:c000eff2 default
parent child Browse files
Show More
@@ -451,7 +451,7 b' def gettemplate(exp, context):'
451
451
452
452
453 def _runrecursivesymbol(context, mapping, key):
453 def _runrecursivesymbol(context, mapping, key):
454 raise error.Abort(_(b"recursive reference '%s' in template") % key)
454 raise error.InputError(_(b"recursive reference '%s' in template") % key)
455
455
456
456
457 def buildtemplate(exp, context):
457 def buildtemplate(exp, context):
@@ -265,7 +265,7 b' Check that recursive reference does not '
265 > EOF
265 > EOF
266 $ hg log --style ./issue4758
266 $ hg log --style ./issue4758
267 abort: recursive reference 'changeset' in template
267 abort: recursive reference 'changeset' in template
268 [255]
268 [10]
269
269
270 not a recursion if a keyword of the same name exists:
270 not a recursion if a keyword of the same name exists:
271
271
General Comments 0
You need to be logged in to leave comments. Login now