##// END OF EJS Templates
bisect: better message for unrelated starting revisions
Matt Mackall -
r12005:c6b1be67 stable
parent child Browse files
Show More
@@ -61,6 +61,8 b' def bisect(changelog, state):'
61 61 badrev, ancestors = buildancestors(state['good'], state['bad'])
62 62 bad = changelog.node(badrev)
63 63 if not ancestors: # now we're confused
64 if len(state['bad']) == 1 and len(state['good']) == 1:
65 raise util.Abort(_("starting revisions are not directly related"))
64 66 raise util.Abort(_("Inconsistent state, %s:%s is good and bad")
65 67 % (badrev, short(bad)))
66 68
General Comments 0
You need to be logged in to leave comments. Login now