Backed out changeset 1ec8bd909ac3 stable
authorMartin Geisler <mg@aragost.com>
Tue, 21 Jun 2011 14:57:17 +0200
branchstable
changeset 14704 b24d596fcd25
parent 14702 1ec8bd909ac3
child 14705 1575dc5d399a
Backed out changeset 1ec8bd909ac3 Debug messages should not be translated.
mercurial/dispatch.py
--- 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):