Patchwork D8406: revset: mark `successors()` experimental

login
register
mail settings
Submitter phabricator
Date April 13, 2020, 4:27 p.m.
Message ID <differential-rev-PHID-DREV-g277aioc2sqvlj6axr5k-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46075/
State Superseded
Headers show

Comments

phabricator - April 13, 2020, 4:27 p.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8406

AFFECTED FILES
  mercurial/revset.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -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)