[PATCH 0 of 2] add --log option to bisect

Bernhard Leiner mailinglists.bleiner at gmail.com
Sat Mar 7 14:47:38 CST 2009


2008/11/11 Matt Mackall <mpm at selenic.com>:
> On Tue, 2008-11-11 at 23:19 +0100, Bernhard Leiner wrote:
>> Hi,
>>
>> I saw the following conversion on IRC today:
>>
>> <mssnlayam> How display the current state of mercurial's bisect information?
>> <brendan> currently I believe you're stuck with `cat .hg/bisect.state`
>> <mssnlayam> oh cool
>> <mssnlayam> not very pretty, but serves the purpose
>>
>>
>> Well, this patch series introduces a pretty solution: an additional
>> '--log' (or -l) option for the bisect command.
>> ('log' because the equivalent git option is also called log)
>
> Interesting.
>
> It'd be nice if we had a way to actually view the candidate set with hg
> log. So I'm a bit hesitant to give up the --log option to this feature
> without having decided how we're going to do that.

I have just re-discovered an old patch that adds the --log option to
show the remaining candidates. Like this:

$ hg bisect --log
4:9b2ba8336a65
5:7874a09ea728
...

If this sounds  good to you I can dust it off and send it to the list.

-- 
Bernhard Leiner           http://bernh.net


More information about the Mercurial-devel mailing list