##// 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 447 if self.unknowncmd:
448 448 try:
449 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 453 except error.UnknownCommand:
452 454 pass
453 455 return -1
@@ -90,11 +90,7 b' disabled'
90 90
91 91 $ hg disabled
92 92 alias 'disabled' resolves to unknown command 'email'
93 'email' is provided by the following 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)
93 'email' is provided by 'patchbomb' extension
98 94 [255]
99 95 $ hg help disabled
100 96 alias 'disabled' resolves to unknown command 'email'
General Comments 0
You need to be logged in to leave comments. Login now