author | Cédric Duval <cedricduval@free.fr> |
Sun, 21 Jun 2009 17:19:34 +0200 | |
changeset 8878 | 231f9d92fd7a |
parent 8877 | 08636e18268f |
child 8879 | d0a3eadfbdb3 |
--- 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