# HG changeset patch # User Thomas Arendsen Hein # Date 1131571878 -3600 # Node ID 95ee4f12fbd92b86595eff46fce68bfc47c45095 # Parent 5b19dea9d4fdec823d671cdfd29e65c4895d2b69 Allow ambiguous command shortcut if only an alias for the same command. Currently the only example for this is 'hg o' or 'hg ou' as a shortcut for 'hg out' and 'hg outgoing'. diff -r 5b19dea9d4fd -r 95ee4f12fbd9 mercurial/commands.py --- a/mercurial/commands.py Wed Nov 09 12:52:05 2005 -0800 +++ b/mercurial/commands.py Wed Nov 09 22:31:18 2005 +0100 @@ -2388,6 +2388,7 @@ raise AmbiguousCommand(cmd) else: choice = aliases, table[e] + break if choice: return choice