revset: drop docstring from internal _notpublic() function
authorYuya Nishihara <yuya@tcha.org>
Tue, 19 May 2015 23:26:25 +0900
changeset 25224 d032f57936f5
parent 25223 29be0450b667
child 25225 57fae767c52b
revset: drop docstring from internal _notpublic() function It shouldn't be listed in "hg help revset".
mercurial/revset.py
--- a/mercurial/revset.py	Wed May 13 20:30:12 2015 -0700
+++ b/mercurial/revset.py	Tue May 19 23:26:25 2015 +0900
@@ -1478,9 +1478,8 @@
     except error.RepoLookupError:
         return baseset()
 
+# for internal use
 def _notpublic(repo, subset, x):
-    """``_notpublic()``
-    Changeset not in public phase."""
     # i18n: "public" is a keyword
     getargs(x, 0, 0, _("_notpublic takes no arguments"))
     if repo._phasecache._phasesets: