##// END OF EJS Templates
alias: show one-line hint for command provided by disabled extension...
Yuya Nishihara -
r22163:01ef4347 default
parent child Browse files
Show More
@@ -447,7 +447,9 b' class cmdalias(object):'
447 if self.unknowncmd:
447 if self.unknowncmd:
448 try:
448 try:
449 # check if the command is in a disabled extension
449 # check if the command is in a disabled extension
450 commands.help_(ui, self.cmdname, unknowncmd=True)
450 cmd, ext = extensions.disabledcmd(ui, self.cmdname)[:2]
451 ui.warn(_("'%s' is provided by '%s' extension\n")
452 % (cmd, ext))
451 except error.UnknownCommand:
453 except error.UnknownCommand:
452 pass
454 pass
453 return -1
455 return -1
@@ -90,11 +90,7 b' disabled'
90
90
91 $ hg disabled
91 $ hg disabled
92 alias 'disabled' resolves to unknown command 'email'
92 alias 'disabled' resolves to unknown command 'email'
93 'email' is provided by the following extension:
93 'email' is provided by 'patchbomb' extension
94
95 patchbomb command to send changesets as (a series of) patch emails
96
97 (use "hg help extensions" for information on enabling extensions)
98 [255]
94 [255]
99 $ hg help disabled
95 $ hg help disabled
100 alias 'disabled' resolves to unknown command 'email'
96 alias 'disabled' resolves to unknown command 'email'
General Comments 0
You need to be logged in to leave comments. Login now