mercurial/cmdutil.py
changeset 23876 48fd1dfb99aa
parent 23838 b95b9fd7ba29
child 23885 9994f45ba714
--- a/mercurial/cmdutil.py	Wed Jan 14 20:11:02 2015 -0800
+++ b/mercurial/cmdutil.py	Wed Jan 14 20:29:47 2015 -0800
@@ -920,8 +920,8 @@
             # should be the same
             for name in ns.names(self.repo, changenode):
                 # i18n: column positioning for "hg log"
-                tname = _(("%s:" % ns.templatename).ljust(13) + "%s\n") % name
-                self.ui.write("%s" % tname, label='log.%s' % ns.templatename)
+                name = _(("%s:" % ns.logname).ljust(13) + "%s\n") % name
+                self.ui.write("%s" % name, label='log.%s' % ns.colorname)
         if self.ui.debugflag:
             # i18n: column positioning for "hg log"
             self.ui.write(_("phase:       %s\n") % _(ctx.phasestr()),