hgext3rd/evolve/compat.py
changeset 3698 4819656d1134
parent 3697 6aff4bb3970d
child 3699 67d6cc7e0979
--- a/hgext3rd/evolve/compat.py	Thu Apr 19 16:12:37 2018 +0200
+++ b/hgext3rd/evolve/compat.py	Thu Apr 19 16:15:10 2018 +0200
@@ -38,16 +38,6 @@
 
 eh = exthelper.exthelper()
 
-# allprecursors set move from mercurial.obsolete to mercurial.obsutil in 4.3
-# allprecursors  was renamed into allpredecessors in 4.4
-def allprecursors(*args, **kwargs):
-    func = getattr(obsutil, 'allpredecessors', None)
-    if func is None:
-        func = getattr(obsutil, 'allprecursors', None)
-        if func is None:
-            func = obsolete.allprecursors
-    return func(*args, **kwargs)
-
 # compatibility layer for mercurial < 4.3
 def bookmarkapplychanges(repo, tr, changes):
     """Apply a list of changes to bookmarks