changeset 4627:48df42a797f0 stable

legacy: drop the check for `obsolete._enabled` This looks like an ancient version check, and presumably `minimumhgversion` will do the same thing.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 29 Apr 2019 23:16:29 -0400
parents f23a490521f6
children f394b41fcbc7
files hgext3rd/evolve/legacy.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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