diff hgext/rebase.py @ 25599:695b93a79d17

templater: comment that gettemplate() has different name resolution order I've tried to unify gettemplate() with buildtemplate(), but it didn't go well because gettemplate() have to bypass mapping dict. For example, web templates have '{tags%changelogtag}' and 'changelogtag' is defined in both mapping, the default, and context.cache, sourced from map file. In general, mapping shadows context variables, but gettemplate() have to pick it from context.cache.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 16 Jun 2015 22:13:19 +0900
parents d298805fb639
children 328739ea70c3
line wrap: on
line diff