# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1271270007 -7200 # Node ID 24c73f35f3cff949aa62d8be0b7c6ef17fbff1b4 # Parent 7c44bc259505214b734a5131b545cd0dc46067f3 metacommand: use AmbiguousCommand from hg for consistency. diff --git a/hgsubversion/svncommands.py b/hgsubversion/svncommands.py --- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -243,8 +243,7 @@ def help_(ui, args=None, **opts): if len(candidates) == 1: subcommand = candidates[0] elif len(candidates) > 1: - ui.status('Ambiguous command. Could have been:\n%s\n' % - ' '.join(candidates)) + raise error.AmbiguousCommand(subcommand, candidates) return doc = table[subcommand].__doc__ if doc is None: