# HG changeset patch # User Pierre-Yves David # Date 1524146379 -7200 # Node ID f9988919d69e121288548c3912c3fcd9653d0c30 # Parent 96cb98989d579165e68b5938801eb2d9b8bf1aca compat: drop vfsmod compat layer Mercurial 4.2 is no longer supported. diff -r 96cb98989d57 -r f9988919d69e hgext3rd/evolve/compat.py --- 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: