revset: mark `successors()` experimental
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 13 Apr 2020 12:17:52 -0400
changeset 44699 bcc1846e0f2b
parent 44698 1ac74f653fa5
child 44700 7834da4b00fa
revset: mark `successors()` experimental Differential Revision: https://phab.mercurial-scm.org/D8406
mercurial/revset.py
--- 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)