process has an unreachable return since 523625e46760 (class engine in mercurial/templater.py)
simohe at besonet.ch
Sun Sep 30 02:41:32 CDT 2012
The 2nd return was introduced in 523625e46760. Not sure if this one or the
original one should be kept.
Code of function process from class engine:
def process(self, t, mapping):
'''Perform expansion. t is name of map element to expand.
mapping contains added elements for use during expansion. Is a
return _flatten(func(self, mapping, data) for func, data in
return _flatten(runtemplate(self, mapping, self._load(t)))
More information about the Mercurial-devel