comparison hgweb.cgi @ 27939:7ed3a3c0cef1 stable

templater: abort if infinite recursion detected while evaluation (issue4758) It would be nice if we could detect recursion at the parsing phase, but we can't because a template can refer to a keyword of the same name. For example, "rev = {rev}" is valid if rev is a keyword, and we don't know if rev is a keyword or a template while parsing.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 22 Jul 2015 23:29:41 +0900
parents 4b0fc75f9403
children 47ef023d0165
comparison
equal deleted inserted replaced
27938:cabac7dfc621 27939:7ed3a3c0cef1