# HG changeset patch # User David Soria Parra # Date 1308674113 -7200 # Node ID 8083f4d00bd102d8661b49df0dbd63bea0279dee # Parent 964a72038bb03dfa9c978526414c1b50522729eb i18n: remove translation of debug messages diff -r 964a72038bb0 -r 8083f4d00bd1 mercurial/commands.py --- a/mercurial/commands.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/commands.py Tue Jun 21 18:35:13 2011 +0200 @@ -4552,7 +4552,7 @@ """ for f in scmutil.rcpath(): - ui.debug(_('read config from: %s\n') % f) + ui.debug('read config from: %s\n' % f) untrusted = bool(opts.get('untrusted')) if values: sections = [v for v in values if '.' not in v] diff -r 964a72038bb0 -r 8083f4d00bd1 mercurial/dispatch.py --- a/mercurial/dispatch.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/dispatch.py Tue Jun 21 18:35:13 2011 +0200 @@ -267,8 +267,8 @@ elif int(m.groups()[0]) <= len(args): return m.group() else: - ui.debug(_("No argument found for substitution " - "of %i variable in alias '%s' definition.") + ui.debug("No argument found for substitution " + "of %i variable in alias '%s' definition." % (int(m.groups()[0]), self.name)) return '' cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:]) diff -r 964a72038bb0 -r 8083f4d00bd1 mercurial/ui.py --- a/mercurial/ui.py Tue Jun 21 15:38:10 2011 +0300 +++ b/mercurial/ui.py Tue Jun 21 18:35:13 2011 +0200 @@ -159,8 +159,8 @@ if self.debugflag and not untrusted and self._reportuntrusted: uvalue = self._ucfg.get(section, name) if uvalue is not None and uvalue != value: - self.debug(_("ignoring untrusted configuration option " - "%s.%s = %s\n") % (section, name, uvalue)) + self.debug("ignoring untrusted configuration option " + "%s.%s = %s\n" % (section, name, uvalue)) return value def configpath(self, section, name, default=None, untrusted=False): @@ -330,8 +330,8 @@ if self.debugflag and not untrusted and self._reportuntrusted: for k, v in self._ucfg.items(section): if self._tcfg.get(section, k) != v: - self.debug(_("ignoring untrusted configuration option " - "%s.%s = %s\n") % (section, k, v)) + self.debug("ignoring untrusted configuration option " + "%s.%s = %s\n" % (section, k, v)) return items def walkconfig(self, untrusted=False):