Show More
@@ -61,6 +61,8 def bisect(changelog, state): | |||||
61 | badrev, ancestors = buildancestors(state['good'], state['bad']) |
|
61 | badrev, ancestors = buildancestors(state['good'], state['bad']) | |
62 | bad = changelog.node(badrev) |
|
62 | bad = changelog.node(badrev) | |
63 | if not ancestors: # now we're confused |
|
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 | raise util.Abort(_("Inconsistent state, %s:%s is good and bad") |
|
66 | raise util.Abort(_("Inconsistent state, %s:%s is good and bad") | |
65 | % (badrev, short(bad))) |
|
67 | % (badrev, short(bad))) | |
66 |
|
68 |
General Comments 0
You need to be logged in to leave comments.
Login now