Show More
@@ -24,7 +24,8 b' from . import (' | |||||
24 | _extensions = {} |
|
24 | _extensions = {} | |
25 | _aftercallbacks = {} |
|
25 | _aftercallbacks = {} | |
26 | _order = [] |
|
26 | _order = [] | |
27 | _ignore = ['hbisect', 'bookmarks', 'parentrevspec', 'interhg', 'inotify'] |
|
27 | # former extensions now in core - we ignore these if found in hgrc | |
|
28 | _builtin = set(['hbisect', 'bookmarks', 'parentrevspec', 'interhg', 'inotify']) | |||
28 |
|
29 | |||
29 | def extensions(ui=None): |
|
30 | def extensions(ui=None): | |
30 | if ui: |
|
31 | if ui: | |
@@ -75,7 +76,7 b' def load(ui, name, path):' | |||||
75 | shortname = name[6:] |
|
76 | shortname = name[6:] | |
76 | else: |
|
77 | else: | |
77 | shortname = name |
|
78 | shortname = name | |
78 |
if shortname in _i |
|
79 | if shortname in _builtin: | |
79 | return None |
|
80 | return None | |
80 | if shortname in _extensions: |
|
81 | if shortname in _extensions: | |
81 | return _extensions[shortname] |
|
82 | return _extensions[shortname] |
General Comments 0
You need to be logged in to leave comments.
Login now