changeset 25224:d032f57936f5

revset: drop docstring from internal _notpublic() function It shouldn't be listed in "hg help revset".
author Yuya Nishihara <yuya@tcha.org>
date Tue, 19 May 2015 23:26:25 +0900
parents 29be0450b667
children 57fae767c52b
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: