comparison tests/test_util.py @ 1176:97a064e2075d stable

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
comparison
equal deleted inserted replaced
1175:d6296f901fc7 1176:97a064e2075d
27 from mercurial import util 27 from mercurial import util
28 from mercurial import extensions 28 from mercurial import extensions
29 29
30 try: 30 try:
31 from mercurial import obsolete 31 from mercurial import obsolete
32 obsolete._enabled
32 except ImportError: 33 except ImportError:
33 obsolete = None 34 obsolete = None
34 35
35 try: 36 try:
36 SkipTest = unittest.SkipTest 37 SkipTest = unittest.SkipTest