Show More
@@ -232,6 +232,18 b' def loadall(ui, whitelist=None):' | |||
|
232 | 232 | if isinstance(inst, error.Hint) and inst.hint: |
|
233 | 233 | ui.warn(_("*** (%s)\n") % inst.hint) |
|
234 | 234 | ui.traceback() |
|
235 | # list of (objname, loadermod, loadername) tuple: | |
|
236 | # - objname is the name of an object in extension module, | |
|
237 | # from which extra information is loaded | |
|
238 | # - loadermod is the module where loader is placed | |
|
239 | # - loadername is the name of the function, | |
|
240 | # which takes (ui, extensionname, extraobj) arguments | |
|
241 | # | |
|
242 | # This one is for the list of item that must be run before running any setup | |
|
243 | earlyextraloaders = [ | |
|
244 | ('configtable', configitems, 'loadconfigtable'), | |
|
245 | ] | |
|
246 | _loadextra(ui, newindex, earlyextraloaders) | |
|
235 | 247 | |
|
236 | 248 | broken = set() |
|
237 | 249 | for name in _order[newindex:]: |
@@ -280,7 +292,6 b' def loadall(ui, whitelist=None):' | |||
|
280 | 292 | extraloaders = [ |
|
281 | 293 | ('cmdtable', commands, 'loadcmdtable'), |
|
282 | 294 | ('colortable', color, 'loadcolortable'), |
|
283 | ('configtable', configitems, 'loadconfigtable'), | |
|
284 | 295 | ('filesetpredicate', fileset, 'loadpredicate'), |
|
285 | 296 | ('internalmerge', filemerge, 'loadinternalmerge'), |
|
286 | 297 | ('revsetpredicate', revset, 'loadpredicate'), |
General Comments 0
You need to be logged in to leave comments.
Login now