equal
deleted
inserted
replaced
24 from .i18n import _ |
24 from .i18n import _ |
25 |
25 |
26 from . import ( |
26 from . import ( |
27 cmdutil, |
27 cmdutil, |
28 commands, |
28 commands, |
|
29 debugcommands, |
29 demandimport, |
30 demandimport, |
30 encoding, |
31 encoding, |
31 error, |
32 error, |
32 extensions, |
33 extensions, |
33 fancyopts, |
34 fancyopts, |
766 getattr(loadermod, loadername)(ui, name, extraobj) |
767 getattr(loadermod, loadername)(ui, name, extraobj) |
767 _loaded.add(name) |
768 _loaded.add(name) |
768 |
769 |
769 # (reposetup is handled in hg.repository) |
770 # (reposetup is handled in hg.repository) |
770 |
771 |
|
772 # Side-effect of accessing is debugcommands module is guaranteed to be |
|
773 # imported and commands.table is populated. |
|
774 debugcommands.command |
|
775 |
771 addaliases(lui, commands.table) |
776 addaliases(lui, commands.table) |
772 |
777 |
773 # All aliases and commands are completely defined, now. |
778 # All aliases and commands are completely defined, now. |
774 # Check abbreviation/ambiguity of shell alias. |
779 # Check abbreviation/ambiguity of shell alias. |
775 shellaliasfn = _checkshellalias(lui, ui, args) |
780 shellaliasfn = _checkshellalias(lui, ui, args) |