Show More
@@ -2440,7 +2440,8 b' def _mapbynodefunc(repo, s, f):' | |||||
2440 |
|
2440 | |||
2441 | @predicate(b'successors(set)', safe=True) |
|
2441 | @predicate(b'successors(set)', safe=True) | |
2442 | def successors(repo, subset, x): |
|
2442 | def successors(repo, subset, x): | |
2443 |
"""All successors for set, including the given set themselves |
|
2443 | """All successors for set, including the given set themselves. | |
|
2444 | (EXPERIMENTAL)""" | |||
2444 | s = getset(repo, fullreposet(repo), x) |
|
2445 | s = getset(repo, fullreposet(repo), x) | |
2445 | f = lambda nodes: obsutil.allsuccessors(repo.obsstore, nodes) |
|
2446 | f = lambda nodes: obsutil.allsuccessors(repo.obsstore, nodes) | |
2446 | d = _mapbynodefunc(repo, s, f) |
|
2447 | d = _mapbynodefunc(repo, s, f) |
General Comments 0
You need to be logged in to leave comments.
Login now