Command failing: hg log --template "{changeset}\n" RuntimeError: maximum recursion depth exceeded in __instancecheck__ See attached stacktrace.
Created attachment 1848 [details] stacktrace
Currently our templater isn't safe for circular reference: changeset = "{changeset}\n"
Yuya: should we update the bug title with this ?
Bug was inactive for 150 days, archiving
Has been spotted in the wild elsewhere.
Fixed by https://selenic.com/repo/hg/rev/7ed3a3c0cef1 Yuya Nishihara <yuya@tcha.org> 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. (please test the fix)
Bug was set to TESTING for 7 days, resolving