[PATCH 4 of 4 stable] phases: do not mark debug message for translation

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri Jan 20 10:01:21 CST 2012


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1327072772 7200
# Branch stable
# Node ID e841a38d7b3d4bdcd0909ba18afa27e55375464e
# Parent  4147f3b9a3d7ee81a014966717c790ac138156b7
phases: do not mark debug message for translation

diff --git a/mercurial/phases.py b/mercurial/phases.py
--- a/mercurial/phases.py
+++ b/mercurial/phases.py
@@ -147,7 +147,7 @@ def filterunknown(repo, phaseroots=None)
         missing = [node for node in nodes if node not in nodemap]
         if missing:
             for mnode in missing:
-                msg = _('Removing unknown node %(n)s from %(p)i-phase boundary')
+                msg = 'Removing unknown node %(n)s from %(p)i-phase boundary'
                 repo.ui.debug(msg, {'n': short(mnode), 'p': phase})
             nodes.symmetric_difference_update(missing)
             repo._dirtyphases = True


More information about the Mercurial-devel mailing list