Show More
@@ -62,7 +62,8 b' def bisect(changelog, state):' | |||
|
62 | 62 | badrev, ancestors = buildancestors(state['good'], state['bad']) |
|
63 | 63 | bad = changelog.node(badrev) |
|
64 | 64 | if not ancestors: # now we're confused |
|
65 |
if len(state['bad']) == 1 and len(state['good']) == 1 |
|
|
65 | if (len(state['bad']) == 1 and len(state['good']) == 1 and | |
|
66 | state['bad'] != state['good']): | |
|
66 | 67 | raise util.Abort(_("starting revisions are not directly related")) |
|
67 | 68 | raise util.Abort(_("inconsistent state, %s:%s is good and bad") |
|
68 | 69 | % (badrev, short(bad))) |
General Comments 0
You need to be logged in to leave comments.
Login now