Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/dispatch.py @ 11556:c20c2c4c0c63
merge stable to default
author | Henrik Stuart <hg@hstuart.dk> |
---|---|
date | Wed, 14 Jul 2010 20:41:01 +0200 |
parents | 24965bb270b7 d8d0fc3988ca |
children | 6381fa7bfa53 |
comparison
equal
deleted
inserted
replaced
11554:f4b03295b1d9 | 11556:c20c2c4c0c63 |
---|---|
396 # Configure extensions in phases: uisetup, extsetup, cmdtable, and | 396 # Configure extensions in phases: uisetup, extsetup, cmdtable, and |
397 # reposetup. Programs like TortoiseHg will call _dispatch several | 397 # reposetup. Programs like TortoiseHg will call _dispatch several |
398 # times so we keep track of configured extensions in _loaded. | 398 # times so we keep track of configured extensions in _loaded. |
399 extensions.loadall(lui) | 399 extensions.loadall(lui) |
400 exts = [ext for ext in extensions.extensions() if ext[0] not in _loaded] | 400 exts = [ext for ext in extensions.extensions() if ext[0] not in _loaded] |
401 # Propagate any changes to lui.__class__ by extensions | |
402 ui.__class__ = lui.__class__ | |
401 | 403 |
402 # (uisetup and extsetup are handled in extensions.loadall) | 404 # (uisetup and extsetup are handled in extensions.loadall) |
403 | 405 |
404 for name, module in exts: | 406 for name, module in exts: |
405 cmdtable = getattr(module, 'cmdtable', {}) | 407 cmdtable = getattr(module, 'cmdtable', {}) |