changeset 25225:57fae767c52b

revset: drop translation marker from error message of _notpublic() It is a kind of an internal error. End user won't see it.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 19 May 2015 23:29:20 +0900
parents d032f57936f5
children 00d426a38137
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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:]: