revset: drop translation marker from error message of _notpublic()
authorYuya Nishihara <yuya@tcha.org>
Tue, 19 May 2015 23:29:20 +0900
changeset 25225 57fae767c52b
parent 25224 d032f57936f5
child 25226 00d426a38137
revset: drop translation marker from error message of _notpublic() It is a kind of an internal error. End user won't see it.
mercurial/revset.py
--- a/mercurial/revset.py	Tue May 19 23:26:25 2015 +0900
+++ b/mercurial/revset.py	Tue May 19 23:29:20 2015 +0900
@@ -1480,8 +1480,7 @@
 
 # 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:]: