# HG changeset patch # User Bryan O'Sullivan # Date 1120509575 28800 # Node ID 4051b78c53c71ca050393d1d5bd41072923c5dd0 # Parent 285965ddca41436d343319e11564f746e40caa91 Handle unrecognised options correctly. # HG changeset patch # User Bryan O'Sullivan # Node ID 837a023781a0228e5791e8e278129d2d54d13f99 # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Handle unrecognised options correctly. diff -r 285965ddca41 -r 4051b78c53c7 mercurial/commands.py --- a/mercurial/commands.py Mon Jul 04 12:39:21 2005 -0800 +++ b/mercurial/commands.py Mon Jul 04 12:39:35 2005 -0800 @@ -1073,7 +1073,7 @@ try: args = fancyopts.fancyopts(args, globalopts, options) except fancyopts.getopt.GetoptError, inst: - raise ParseError(cmd, inst) + raise ParseError(None, inst) if options["version"]: return ("version", show_version, [], options, cmdoptions)