diff mercurial/hg.py @ 25001:9668c1a433b3

templater: switch methods table on compileexp() of func args and inner expr The next patch will introduce integer literals, but the schemes extension expects that '{1}', '{2}', ... are interpreted as keywords. This patch allows us to process '{foo(1)}' as 'func(integer)', whereas '{1}' as 'symbol'.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 02 May 2015 18:05:04 +0900
parents e0b0fbd47491
children 4cc3fb23881d
line wrap: on
line diff