Mercurial > public > mercurial-scm > hg
comparison mercurial/hg.py @ 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 | 3fde328d0913 |
children | e93408080646 |
comparison
equal
deleted
inserted
replaced
29644:ce4ac5d19cb8 | 29645:3b4d69b3988d |
---|---|
894 for subpath in ctx.substate: | 894 for subpath in ctx.substate: |
895 try: | 895 try: |
896 ret = (ctx.sub(subpath, allowcreate=False).verify() | 896 ret = (ctx.sub(subpath, allowcreate=False).verify() |
897 or ret) | 897 or ret) |
898 except error.RepoError as e: | 898 except error.RepoError as e: |
899 repo.ui.warn(_('%s: %s\n') % (rev, e)) | 899 repo.ui.warn(('%s: %s\n') % (rev, e)) |
900 except Exception: | 900 except Exception: |
901 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') % | 901 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') % |
902 node.short(ctx.node())) | 902 node.short(ctx.node())) |
903 | 903 |
904 return ret | 904 return ret |