diff mercurial/dispatch.py @ 14704:b24d596fcd25 stable

Backed out changeset 1ec8bd909ac3 Debug messages should not be translated.
author Martin Geisler <mg@aragost.com>
date Tue, 21 Jun 2011 14:57:17 +0200
parents 1ec8bd909ac3
children 8083f4d00bd1
line wrap: on
line diff
--- a/mercurial/dispatch.py	Tue Jun 21 13:24:19 2011 +0200
+++ b/mercurial/dispatch.py	Tue Jun 21 14:57:17 2011 +0200
@@ -333,7 +333,7 @@
 
     def __call__(self, ui, *args, **opts):
         if self.shadows:
-            ui.debug(_("alias '%s' shadows command '%s'\n") %
+            ui.debug("alias '%s' shadows command '%s'\n" %
                      (self.name, self.cmdname))
 
         if hasattr(self, 'shell'):
@@ -343,7 +343,7 @@
                 util.checksignature(self.fn)(ui, *args, **opts)
             except error.SignatureError:
                 args = ' '.join([self.cmdname] + self.args)
-                ui.debug(_("alias '%s' expands to '%s'\n") % (self.name, args))
+                ui.debug("alias '%s' expands to '%s'\n" % (self.name, args))
                 raise
 
 def addaliases(ui, cmdtable):