changeset 29645:3b4d69b3988d stable

doc: omit useless _() invocation In this case, column positioning isn't needed for i18n, too. Maybe, check-code warning "missing _() in ui message" caused this useless _() invocation in 92d37fb3f1aa.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 01 Aug 2016 06:08:26 +0900
parents ce4ac5d19cb8
children a8a5dd8986f0
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Mon Aug 01 06:08:25 2016 +0900
+++ b/mercurial/hg.py	Mon Aug 01 06:08:26 2016 +0900
@@ -896,7 +896,7 @@
                         ret = (ctx.sub(subpath, allowcreate=False).verify()
                                or ret)
                     except error.RepoError as e:
-                        repo.ui.warn(_('%s: %s\n') % (rev, e))
+                        repo.ui.warn(('%s: %s\n') % (rev, e))
             except Exception:
                 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') %
                              node.short(ctx.node()))