compat: drop obsutile layer
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 19 Apr 2018 16:01:49 +0200
changeset 3693 105d2d2c6a2e
parent 3692 f9988919d69e
child 3694 c0d5e0929f8b
compat: drop obsutile layer Mercurial 4.2 is no longer supported.
hgext3rd/evolve/compat.py
--- a/hgext3rd/evolve/compat.py	Thu Apr 19 15:59:39 2018 +0200
+++ b/hgext3rd/evolve/compat.py	Thu Apr 19 16:01:49 2018 +0200
@@ -16,19 +16,13 @@
     hg,
     mdiff,
     obsolete,
+    obsutil,
     revset,
     util,
     vfs as vfsmod,
 )
 from mercurial.hgweb import hgweb_mod
 
-# hg < 4.2 compat
-try:
-    from mercurial import obsutil
-    obsutil.closestpredecessors
-except ImportError:
-    obsutil = None
-
 # hg < 4.6 compat (c8e2d6ed1f9e)
 try:
     from mercurial import logcmdutil