changeset 28955 | 78759f78a44e |
parent 28954 | f97a0bcfd7a1 |
child 28999 | 790c076cd4a2 |
--- a/mercurial/cmdutil.py Sun Apr 03 23:26:48 2016 +0900 +++ b/mercurial/cmdutil.py Sun Apr 10 17:23:09 2016 +0900 @@ -1492,9 +1492,9 @@ self.t = templater.templater.frommapfile(mapfile, filters=filters, cache=defaulttempl) else: - self.t = templater.templater(filters=filters, cache=defaulttempl) - if tmpl: - self.t.cache['changeset'] = tmpl + self.t = formatter.maketemplater(ui, 'changeset', tmpl, + filters=filters, + cache=defaulttempl) self.cache = {}