--- a/hgext/color.py Sat Mar 05 00:01:36 2016 +0900
+++ b/hgext/color.py Sun Feb 14 13:30:32 2016 +0900
@@ -489,16 +489,14 @@
# etc. don't need to be quoted
mapping.update(dict([(k, k) for k in _effects]))
- thing = args[1][0](context, mapping, args[1][1])
- thing = templater.stringify(thing)
+ thing = templater.evalstring(context, mapping, args[1])
# apparently, repo could be a string that is the favicon?
repo = mapping.get('repo', '')
if isinstance(repo, str):
return thing
- label = args[0][0](context, mapping, args[0][1])
- label = templater.stringify(label)
+ label = templater.evalstring(context, mapping, args[0])
return repo.ui.label(thing, label)