mercurial/cmdutil.py
changeset 23876 48fd1dfb99aa
parent 23838 b95b9fd7ba29
child 23885 9994f45ba714
equal deleted inserted replaced
23875:e573dd08aeaf 23876:48fd1dfb99aa
   918                 continue
   918                 continue
   919             # we will use the templatename as the color name since those two
   919             # we will use the templatename as the color name since those two
   920             # should be the same
   920             # should be the same
   921             for name in ns.names(self.repo, changenode):
   921             for name in ns.names(self.repo, changenode):
   922                 # i18n: column positioning for "hg log"
   922                 # i18n: column positioning for "hg log"
   923                 tname = _(("%s:" % ns.templatename).ljust(13) + "%s\n") % name
   923                 name = _(("%s:" % ns.logname).ljust(13) + "%s\n") % name
   924                 self.ui.write("%s" % tname, label='log.%s' % ns.templatename)
   924                 self.ui.write("%s" % name, label='log.%s' % ns.colorname)
   925         if self.ui.debugflag:
   925         if self.ui.debugflag:
   926             # i18n: column positioning for "hg log"
   926             # i18n: column positioning for "hg log"
   927             self.ui.write(_("phase:       %s\n") % _(ctx.phasestr()),
   927             self.ui.write(_("phase:       %s\n") % _(ctx.phasestr()),
   928                           label='log.phase')
   928                           label='log.phase')
   929         for parent in parents:
   929         for parent in parents: