mercurial/dispatch.py
branchstable
changeset 11555 d8d0fc3988ca
parent 11330 713ae78bb583
child 11556 c20c2c4c0c63
child 11600 76454cbc11e4
equal deleted inserted replaced
11552:164eb14a4a7c 11555:d8d0fc3988ca
   386     # Configure extensions in phases: uisetup, extsetup, cmdtable, and
   386     # Configure extensions in phases: uisetup, extsetup, cmdtable, and
   387     # reposetup. Programs like TortoiseHg will call _dispatch several
   387     # reposetup. Programs like TortoiseHg will call _dispatch several
   388     # times so we keep track of configured extensions in _loaded.
   388     # times so we keep track of configured extensions in _loaded.
   389     extensions.loadall(lui)
   389     extensions.loadall(lui)
   390     exts = [ext for ext in extensions.extensions() if ext[0] not in _loaded]
   390     exts = [ext for ext in extensions.extensions() if ext[0] not in _loaded]
       
   391     # Propagate any changes to lui.__class__ by extensions
       
   392     ui.__class__ = lui.__class__
   391 
   393 
   392     # (uisetup and extsetup are handled in extensions.loadall)
   394     # (uisetup and extsetup are handled in extensions.loadall)
   393 
   395 
   394     for name, module in exts:
   396     for name, module in exts:
   395         cmdtable = getattr(module, 'cmdtable', {})
   397         cmdtable = getattr(module, 'cmdtable', {})