# HG changeset patch # User FUJIWARA Katsunori # Date 1429973093 -32400 # Node ID bff42a92012e49aabd925caa3cb243116285e243 # Parent f3558829471b827e107e138613d1b65b998bb4d6 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" diff -r f3558829471b -r bff42a92012e mercurial/cmdutil.py --- 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()