Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revset.py @ 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 | 08d1ef09ed37 |
children | 57fae767c52b |
comparison
equal
deleted
inserted
replaced
25223:29be0450b667 | 25224:d032f57936f5 |
---|---|
1476 try: | 1476 try: |
1477 return getset(repo, subset, x) | 1477 return getset(repo, subset, x) |
1478 except error.RepoLookupError: | 1478 except error.RepoLookupError: |
1479 return baseset() | 1479 return baseset() |
1480 | 1480 |
1481 # for internal use | |
1481 def _notpublic(repo, subset, x): | 1482 def _notpublic(repo, subset, x): |
1482 """``_notpublic()`` | |
1483 Changeset not in public phase.""" | |
1484 # i18n: "public" is a keyword | 1483 # i18n: "public" is a keyword |
1485 getargs(x, 0, 0, _("_notpublic takes no arguments")) | 1484 getargs(x, 0, 0, _("_notpublic takes no arguments")) |
1486 if repo._phasecache._phasesets: | 1485 if repo._phasecache._phasesets: |
1487 s = set() | 1486 s = set() |
1488 for u in repo._phasecache._phasesets[1:]: | 1487 for u in repo._phasecache._phasesets[1:]: |