diff tests/test_util.py @ 1174:a22d4972e01f

push: fix obsolete feature detection The obsolete feature detection didn't work with demandimport, breaking hgsubversion when running against 2.0-2.3.
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Tue, 22 Apr 2014 15:53:11 +0200
parents 4a92eb1484ba
children 518a9552f7f9
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -29,6 +29,7 @@ from mercurial import extensions
 
 try:
     from mercurial import obsolete
+    obsolete._enabled
 except ImportError:
     obsolete = None