changeset 44699:bcc1846e0f2b

revset: mark `successors()` experimental Differential Revision: https://phab.mercurial-scm.org/D8406
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 13 Apr 2020 12:17:52 -0400
parents 1ac74f653fa5
children 7834da4b00fa
files mercurial/revset.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)