##// END OF EJS Templates
extensions: rename _ignore to _builtin, add descriptive comment...
Bryan O'Sullivan -
r27111:9de814b3 default
parent child Browse files
Show More
@@ -24,7 +24,8 b' from . import ('
24 24 _extensions = {}
25 25 _aftercallbacks = {}
26 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 30 def extensions(ui=None):
30 31 if ui:
@@ -75,7 +76,7 b' def load(ui, name, path):'
75 76 shortname = name[6:]
76 77 else:
77 78 shortname = name
78 if shortname in _ignore:
79 if shortname in _builtin:
79 80 return None
80 81 if shortname in _extensions:
81 82 return _extensions[shortname]
General Comments 0
You need to be logged in to leave comments. Login now