Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you get the current state (history of good/bad revisions) of a bisect from mercurial

When doing an hg bisect in eclipse, I like that I can see all of the bads and goods I've marked in the past.
Is there a way to get that information at the command line?

like image 889
Joshua Goldberg Avatar asked Oct 13 '11 00:10

Joshua Goldberg


2 Answers

In Mercurial 3.8.2 (and probably earlier) you can use this:

hg log --template bisect
like image 135
Luke Worth Avatar answered Oct 21 '22 09:10

Luke Worth


As suggested in a comment by @adambox, this should work:

hg log -r "bisect(good) or bisect(bad)" --template "{rev}:{node|short} {bisect}\n"
like image 26
Kafu Avatar answered Oct 21 '22 09:10

Kafu