##// END OF EJS Templates
dispatch: load debugcommand before extension...
Pierre-Yves David -
r30917:b35e0510 default
parent child Browse files
Show More
@@ -655,6 +655,10 b' def _dispatch(req):'
655 rpath = _earlygetopt(["-R", "--repository", "--repo"], args)
655 rpath = _earlygetopt(["-R", "--repository", "--repo"], args)
656 path, lui = _getlocal(ui, rpath)
656 path, lui = _getlocal(ui, rpath)
657
657
658 # Side-effect of accessing is debugcommands module is guaranteed to be
659 # imported and commands.table is populated.
660 debugcommands.command
661
658 # Configure extensions in phases: uisetup, extsetup, cmdtable, and
662 # Configure extensions in phases: uisetup, extsetup, cmdtable, and
659 # reposetup. Programs like TortoiseHg will call _dispatch several
663 # reposetup. Programs like TortoiseHg will call _dispatch several
660 # times so we keep track of configured extensions in _loaded.
664 # times so we keep track of configured extensions in _loaded.
@@ -674,10 +678,6 b' def _dispatch(req):'
674
678
675 # (reposetup is handled in hg.repository)
679 # (reposetup is handled in hg.repository)
676
680
677 # Side-effect of accessing is debugcommands module is guaranteed to be
678 # imported and commands.table is populated.
679 debugcommands.command
680
681 addaliases(lui, commands.table)
681 addaliases(lui, commands.table)
682
682
683 # All aliases and commands are completely defined, now.
683 # All aliases and commands are completely defined, now.
General Comments 0
You need to be logged in to leave comments. Login now