Skip to content
Snippets Groups Projects
Commit 0d3f3539 authored by Matt Mackall's avatar Matt Mackall
Browse files

extensions: add an ignore list for old extensions

parent 31fdb04c
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
_extensions = {}
_order = []
_ignore = ['hbisect']
def extensions():
for name in _order:
......@@ -45,6 +46,8 @@
shortname = name[6:]
else:
shortname = name
if shortname in _ignore:
return None
if shortname in _extensions:
return _extensions[shortname]
_extensions[shortname] = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment