# HG changeset patch # User Anton Shestakov # Date 1578069168 -25200 # Node ID da5cc4e493ff97f961b5b547f958b2525838f402 # Parent 456129fdcf93134e73c442e0ce7c9796396c5857 obshistory: drop unused keyword argument to _getobsfateandsuccs() diff -r 456129fdcf93 -r da5cc4e493ff hgext3rd/evolve/obshistory.py --- 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