legacy: drop the check for `obsolete._enabled` stable
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 29 Apr 2019 23:16:29 -0400
branchstable
changeset 4627 48df42a797f0
parent 4573 f23a490521f6
child 4630 f394b41fcbc7
legacy: drop the check for `obsolete._enabled` This looks like an ancient version check, and presumably `minimumhgversion` will do the same thing.
hgext3rd/evolve/legacy.py
--- a/hgext3rd/evolve/legacy.py	Tue Apr 23 15:57:04 2019 +0200
+++ b/hgext3rd/evolve/legacy.py	Mon Apr 29 23:16:29 2019 -0400
@@ -15,12 +15,6 @@
 
 from mercurial import error
 
-try:
-    from mercurial import obsolete
-    obsolete._enabled
-except ImportError:
-    raise error.Abort('Obsolete extension requires Mercurial 2.3 (or later)')
-
 import sys
 import json