bug report: hg addremove -s -n
Dustin Sallings
dustin at spy.net
Sat Jul 21 20:30:24 CDT 2007
The error is telling you that it can't parse -n as a float. It
looks like it wants a number as an argument to -s.
If there's a bug, it's in the help output of ``addremove.''
On Jul 21, 2007, at 17:51, Bas van Oostveen wrote:
> # hg addremove -s -n
> ** unknown exception encountered, details follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 0.9.4)
> Traceback (most recent call last):
> File "/usr/bin/hg", line 11, in ?
> mercurial.commands.run()
> File "/var/lib/python-support/python2.4/mercurial/commands.py", line
> 3110, in run
> sys.exit(dispatch(sys.argv[1:], argv0=sys.argv[0]))
> File "/var/lib/python-support/python2.4/mercurial/commands.py", line
> 3107, in dispatch
> return cmdutil.runcatch(u, args, argv0=argv0)
> File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line
> 37, in runcatch
> return dispatch(ui, args, argv0=argv0)
> File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line
> 364, in dispatch
> ret = runcommand(ui, options, cmd, d)
> File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line
> 417, in runcommand
> return checkargs()
> File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line
> 373, in checkargs
> return cmdfunc()
> File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line
> 356, in <lambda>
> d = lambda: func(ui, repo, *args, **cmdoptions)
> File "/var/lib/python-support/python2.4/mercurial/commands.py", line
> 56, in addremove
> sim = float(opts.get('similarity') or 0)
> ValueError: invalid literal for float(): -n
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
--
Dustin Sallings
More information about the Mercurial
mailing list