branch | stable |
changeset 12932 | ab93029ab622 |
parent 12831 | 4d657b524be8 |
child 13328 | a939f08fae9c |
--- a/mercurial/dispatch.py Fri Nov 05 15:13:22 2010 +0100 +++ b/mercurial/dispatch.py Fri Nov 05 15:54:32 2010 -0400 @@ -453,7 +453,7 @@ cmd = args[0] try: aliases, entry = cmdutil.findcmd(cmd, cmdtable, lui.config("ui", "strict")) - except error.UnknownCommand: + except (error.AmbiguousCommand, error.UnknownCommand): commands.norepo = norepo os.chdir(cwd) return