changeset 8878 | 231f9d92fd7a |
parent 8877 | 08636e18268f |
child 8896 | b793ce68f082 |
--- a/mercurial/extensions.py Sun Jun 21 17:18:48 2009 +0200 +++ b/mercurial/extensions.py Sun Jun 21 17:19:34 2009 +0200 @@ -138,17 +138,10 @@ if not os.path.exists(path): continue - if name in exts or name == '__init__': + if name in exts or name in _order or name == '__init__': continue try: - find(name) - except KeyError: - pass - else: - continue # enabled extension - - try: file = open(path) except IOError: continue