revset: mark `successors()` experimental
Differential Revision: https://phab.mercurial-scm.org/D8406
--- a/mercurial/revset.py Mon Apr 13 12:13:22 2020 -0400
+++ b/mercurial/revset.py Mon Apr 13 12:17:52 2020 -0400
@@ -2440,7 +2440,8 @@
@predicate(b'successors(set)', safe=True)
def successors(repo, subset, x):
- """All successors for set, including the given set themselves"""
+ """All successors for set, including the given set themselves.
+ (EXPERIMENTAL)"""
s = getset(repo, fullreposet(repo), x)
f = lambda nodes: obsutil.allsuccessors(repo.obsstore, nodes)
d = _mapbynodefunc(repo, s, f)