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

login
register
mail settings
Submitter phabricator
Date April 14, 2020, 7:18 p.m.
Message ID <bc8156132198ad1abf64aca6cb04c197@localhost.localdomain>
Download mbox | patch
Permalink /patch/46107/
State Not Applicable
Headers show

Comments

phabricator - April 14, 2020, 7:18 p.m.
Closed by commit rHGbcc1846e0f2b: revset: mark `successors()` experimental (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8406?vs=21045&id=21078

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8406/new/

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

AFFECTED FILES
  mercurial/revset.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers, Alphare, pulkit
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)