--- a/hgext3rd/evolve/evolvecmd.py Mon Nov 19 01:44:28 2018 +0000
+++ b/hgext3rd/evolve/evolvecmd.py Mon Nov 19 01:45:34 2018 +0000
@@ -1305,10 +1305,7 @@
"""Compute sets of commits divergent with a given one"""
cache = {}
base = {}
- allpredecessors = getattr(obsutil, 'allpredecessors', None)
- if allpredecessors is None: # <= Mercurial 4.3
- allpredecessors = obsutil.allprecursors
- for n in allpredecessors(repo.obsstore, [ctx.node()]):
+ for n in obsutil.allpredecessors(repo.obsstore, [ctx.node()]):
if n == ctx.node():
# a node can't be a base for divergence with itself
continue