Show More
@@ -3299,7 +3299,8 b' def help_(ui, name=None, unknowncmd=Fals' | |||||
3299 | 'extensions\n')) |
|
3299 | 'extensions\n')) | |
3300 |
|
3300 | |||
3301 | def helpextcmd(name): |
|
3301 | def helpextcmd(name): | |
3302 |
cmd, ext, mod = extensions.disabledcmd(ui, name, |
|
3302 | cmd, ext, mod = extensions.disabledcmd(ui, name, | |
|
3303 | ui.configbool('ui', 'strict')) | |||
3303 | doc = gettext(mod.__doc__).splitlines()[0] |
|
3304 | doc = gettext(mod.__doc__).splitlines()[0] | |
3304 |
|
3305 | |||
3305 | msg = help.listexts(_("'%s' is provided by the following " |
|
3306 | msg = help.listexts(_("'%s' is provided by the following " |
@@ -383,7 +383,7 b' def _parse(ui, args):' | |||||
383 | if args: |
|
383 | if args: | |
384 | cmd, args = args[0], args[1:] |
|
384 | cmd, args = args[0], args[1:] | |
385 | aliases, entry = cmdutil.findcmd(cmd, commands.table, |
|
385 | aliases, entry = cmdutil.findcmd(cmd, commands.table, | |
386 | ui.config("ui", "strict")) |
|
386 | ui.configbool("ui", "strict")) | |
387 | cmd = aliases[0] |
|
387 | cmd = aliases[0] | |
388 | args = aliasargs(entry[0], args) |
|
388 | args = aliasargs(entry[0], args) | |
389 | defaults = ui.config("defaults", cmd) |
|
389 | defaults = ui.config("defaults", cmd) | |
@@ -511,7 +511,8 b' def _checkshellalias(lui, ui, args):' | |||||
511 |
|
511 | |||
512 | cmd = args[0] |
|
512 | cmd = args[0] | |
513 | try: |
|
513 | try: | |
514 |
aliases, entry = cmdutil.findcmd(cmd, cmdtable, |
|
514 | aliases, entry = cmdutil.findcmd(cmd, cmdtable, | |
|
515 | lui.configbool("ui", "strict")) | |||
515 | except (error.AmbiguousCommand, error.UnknownCommand): |
|
516 | except (error.AmbiguousCommand, error.UnknownCommand): | |
516 | commands.norepo = norepo |
|
517 | commands.norepo = norepo | |
517 | return |
|
518 | return |
@@ -336,9 +336,6 b'' | |||||
336 | > ui.write('deltas against p2 : ' + fmt % pcfmt(nump2, numdeltas)) |
|
336 | > ui.write('deltas against p2 : ' + fmt % pcfmt(nump2, numdeltas)) | |
337 | warning: unwrapped ui message |
|
337 | warning: unwrapped ui message | |
338 | mercurial/commands.py:0: |
|
338 | mercurial/commands.py:0: | |
339 | > cmd, ext, mod = extensions.disabledcmd(ui, name, ui.config('ui', 'strict')) |
|
|||
340 | warning: line over 80 characters |
|
|||
341 | mercurial/commands.py:0: |
|
|||
342 | > except: |
|
339 | > except: | |
343 | warning: naked except clause |
|
340 | warning: naked except clause | |
344 | mercurial/commands.py:0: |
|
341 | mercurial/commands.py:0: | |
@@ -433,9 +430,6 b'' | |||||
433 | > " (.hg not found)") % os.getcwd()) |
|
430 | > " (.hg not found)") % os.getcwd()) | |
434 | warning: line over 80 characters |
|
431 | warning: line over 80 characters | |
435 | mercurial/dispatch.py:0: |
|
432 | mercurial/dispatch.py:0: | |
436 | > aliases, entry = cmdutil.findcmd(cmd, cmdtable, lui.config("ui", "strict")) |
|
|||
437 | warning: line over 80 characters |
|
|||
438 | mercurial/dispatch.py:0: |
|
|||
439 | > except: |
|
433 | > except: | |
440 | warning: naked except clause |
|
434 | warning: naked except clause | |
441 | mercurial/dispatch.py:0: |
|
435 | mercurial/dispatch.py:0: |
General Comments 0
You need to be logged in to leave comments.
Login now