mercurial/commands.py
changeset 1525 c85e5bbfd141
parent 1523 fdda77dcf601
parent 1520 95ee4f12fbd9
child 1526 c230939283c3
child 1536 b4ed825282fe
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2398,6 +2398,7 @@ def find(cmd):
                     raise AmbiguousCommand(cmd)
                 else:
                     choice = aliases, table[e]
+                    break
     if choice:
         return choice