changeset 24864:bff42a92012e stable

cmdutil: avoid wrapping ctx.phasestr() by _() This wrapping seems meaningless, because: - there is no "_()" invocation to prepare for extracting phase names to be translated "make update-pot" doesn't extract msgids for phase names - phase names are kine of reserved keywords like as branch name "default"
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 25 Apr 2015 23:44:53 +0900
parents f3558829471b
children d90e50c6e406
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Sat Apr 25 23:44:53 2015 +0900
+++ b/mercurial/cmdutil.py	Sat Apr 25 23:44:53 2015 +0900
@@ -1142,7 +1142,7 @@
                               label='log.%s' % ns.colorname)
         if self.ui.debugflag:
             # i18n: column positioning for "hg log"
-            self.ui.write(_("phase:       %s\n") % _(ctx.phasestr()),
+            self.ui.write(_("phase:       %s\n") % ctx.phasestr(),
                           label='log.phase')
         for pctx in self._meaningful_parentrevs(ctx):
             label = 'log.parent changeset.%s' % pctx.phasestr()