compat: drop vfsmod compat layer
Mercurial 4.2 is no longer supported.
--- a/hgext3rd/evolve/compat.py Thu Apr 19 14:26:03 2018 +0200
+++ b/hgext3rd/evolve/compat.py Thu Apr 19 15:59:39 2018 +0200
@@ -18,17 +18,12 @@
obsolete,
revset,
util,
+ vfs as vfsmod,
)
from mercurial.hgweb import hgweb_mod
# hg < 4.2 compat
try:
- from mercurial import vfs as vfsmod
- vfsmod.vfs
-except ImportError:
- from mercurial import scmutil as vfsmod
-
-try:
from mercurial import obsutil
obsutil.closestpredecessors
except ImportError: