diff mercurial/cmdutil.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 0579b0c2ea2b
children 747055706e85
line wrap: on
line diff