Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 7213:b4c035057d34
findcmd: have dispatch look up strict flag
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Oct 2008 17:34:08 -0500 |
parents | ddfcefab8b97 |
children | 12a90281d83d |
line wrap: on
line diff
--- a/mercurial/dispatch.py Wed Oct 22 17:00:05 2008 -0500 +++ b/mercurial/dispatch.py Wed Oct 22 17:34:08 2008 -0500 @@ -171,7 +171,8 @@ if args: cmd, args = args[0], args[1:] - aliases, i = cmdutil.findcmd(ui, cmd, commands.table) + aliases, i = cmdutil.findcmd(cmd, commands.table, + ui.config("ui","strict")) cmd = aliases[0] defaults = ui.config("defaults", cmd) if defaults: