--- a/hgext3rd/evolve/obshistory.py Thu Jan 02 01:16:18 2020 +0700
+++ b/hgext3rd/evolve/obshistory.py Fri Jan 03 23:32:48 2020 +0700
@@ -792,15 +792,13 @@
return None
return _prepare_hunk(lines)
-def _getobsfateandsuccs(repo, revnode, successorssets=None):
+def _getobsfateandsuccs(repo, revnode):
""" Return a tuple containing:
- the reason a revision is obsolete (diverged, pruned or superseded)
- the list of successors short node if the revision is neither pruned
or has diverged
"""
- if successorssets is None:
- successorssets = obsutil.successorssets(repo, revnode)
-
+ successorssets = obsutil.successorssets(repo, revnode)
fate = obsutil._getobsfate(successorssets)
# Apply node.short if we have no divergence