changeset 3693:105d2d2c6a2e

compat: drop obsutile layer Mercurial 4.2 is no longer supported.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 19 Apr 2018 16:01:49 +0200
parents f9988919d69e
children c0d5e0929f8b
files hgext3rd/evolve/compat.py
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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