branch | stable |
changeset 20661 | 7e627fe63e5e |
parent 20067 | 3d8bfe2ecf6d |
child 20670 | 0084fcd5d7e2 |
--- a/hgext/color.py Mon Mar 03 15:50:45 2014 +0900 +++ b/hgext/color.py Mon Mar 10 01:01:42 2014 +0900 @@ -393,9 +393,7 @@ if isinstance(repo, str): return thing - label = templater.stringify(args[0][0](context, mapping, args[0][1])) - label = templater.runtemplate(context, mapping, - templater.compiletemplate(label, context)) + label = templater._evalifliteral(args[0], context, mapping) thing = templater.stringify(thing) label = templater.stringify(label)