D6338: monotone: fix a bogus _() wrapper that was caught when formatting code

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat May 4 21:35:31 EDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd26bfbf419f9: monotone: fix a bogus _() wrapper that was caught when formatting code (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6338?vs=15001&id=15005

REVISION DETAIL
  https://phab.mercurial-scm.org/D6338

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS

diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -284,9 +284,9 @@
                     # d2 => d3
                     ignoremove[tofile] = 1
             for tofile, fromfile in renamed.items():
-                self.ui.debug (_("copying file in renamed directory "
-                                 "from '%s' to '%s'")
-                               % (fromfile, tofile), '\n')
+                self.ui.debug(
+                    "copying file in renamed directory from '%s' to '%s'"
+                    % (fromfile, tofile), '\n')
                 files[tofile] = rev
                 copies[tofile] = fromfile
             for fromfile in renamed.values():
@@ -370,4 +370,3 @@
             self.mtnwritefp = None
             self.mtnreadfp.close()
             self.mtnreadfp = None
-



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list