Show More
@@ -179,8 +179,10 b' def _runextsetup(name, ui):' | |||||
179 | raise |
|
179 | raise | |
180 | extsetup() # old extsetup with no ui argument |
|
180 | extsetup() # old extsetup with no ui argument | |
181 |
|
181 | |||
182 | def loadall(ui): |
|
182 | def loadall(ui, whitelist=None): | |
183 | result = ui.configitems("extensions") |
|
183 | result = ui.configitems("extensions") | |
|
184 | if whitelist: | |||
|
185 | result = [(k, v) for (k, v) in result if k in whitelist] | |||
184 | newindex = len(_order) |
|
186 | newindex = len(_order) | |
185 | for (name, path) in result: |
|
187 | for (name, path) in result: | |
186 | if path: |
|
188 | if path: |
General Comments 0
You need to be logged in to leave comments.
Login now