hg bisect -s fails
Trevor Caira
trevor at caira.com
Tue Jul 29 15:37:17 CDT 2008
On Tue, Jul 29, 2008 at 4:09 PM, Ondrej Certik <ondrej at certik.cz> wrote:
> $ hg bisect -s
> ** unknown exception encountered, details follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.0.1)
> Traceback (most recent call last):
> File "/usr/bin/hg", line 20, in <module>
> mercurial.dispatch.run()
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 20, in run
> sys.exit(dispatch(sys.argv[1:]))
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 29, in dispatch
> return _runcatch(u, args)
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 45, in _runcatch
> return _dispatch(ui, args)
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 364, in _dispatch
> ret = _runcommand(ui, options, cmd, d)
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 417, in _runcommand
> return checkargs()
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 373, in checkargs
> return cmdfunc()
> File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line
> 356, in <lambda>
> d = lambda: func(ui, repo, *args, **cmdoptions)
> File "/var/lib/python-support/python2.5/mercurial/commands.py", line
> 327, in bisect
> node, changesets, good = hbisect.bisect(repo.changelog, state)
> File "/var/lib/python-support/python2.5/mercurial/hbisect.py", line
> 103, in bisect
> assert best_rev is not None
> AssertionError
>
>
>
> While bisecting, I had to skip couple of revisions (because they
> weren't able to run the tested code) and suddenly mercurial failed
> like above.
> I think the problem is that there were no revisions left, but then the
> mercurial should just say -- hey, the the following range of (skipped)
> revisions introduced the bug.
>
> Ondrej
See <http://www.selenic.com/mercurial/bts/issue1228>.
Best,
Trevor Caira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080729/c97aaf76/attachment.htm
More information about the Mercurial
mailing list