From patchwork Tue May 19 14:58:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2, of, 2] revset: drop translation marker from error message of _notpublic() From: Yuya Nishihara X-Patchwork-Id: 9173 Message-Id: To: mercurial-devel@selenic.com Date: Tue, 19 May 2015 23:58:15 +0900 # HG changeset patch # User Yuya Nishihara # Date 1432045760 -32400 # Tue May 19 23:29:20 2015 +0900 # Node ID a69c13d42ab06298f1d8c81a87a9f8d325d571ec # Parent aab49310051b2c7404e1c053779b52fe01aaa3ca revset: drop translation marker from error message of _notpublic() It is a kind of an internal error. End user won't see it. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1480,8 +1480,7 @@ def present(repo, subset, x): # for internal use def _notpublic(repo, subset, x): - # i18n: "public" is a keyword - getargs(x, 0, 0, _("_notpublic takes no arguments")) + getargs(x, 0, 0, "_notpublic takes no arguments") if repo._phasecache._phasesets: s = set() for u in repo._phasecache._phasesets[1:]: