Mercurial > hg-stable
changeset 42274:d26bfbf419f9
monotone: fix a bogus _() wrapper that was caught when formatting code
There was a spurious space after `debug`, which hid the _() inside
ui.debug() from check-code. Sigh.
While here, wrap things more concisely.
Differential Revision: https://phab.mercurial-scm.org/D6338
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 03 May 2019 15:42:13 -0400 |
parents | 0f01394457a0 |
children | e10b8058da84 |
files | hgext/convert/monotone.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/monotone.py Fri May 03 14:11:16 2019 +0800 +++ b/hgext/convert/monotone.py Fri May 03 15:42:13 2019 -0400 @@ -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 -