equal
deleted
inserted
replaced
355 raise util.Abort(_("failed to execute %s") % command) |
355 raise util.Abort(_("failed to execute %s") % command) |
356 elif status < 0: |
356 elif status < 0: |
357 raise util.Abort(_("%s killed") % command) |
357 raise util.Abort(_("%s killed") % command) |
358 else: |
358 else: |
359 transition = "bad" |
359 transition = "bad" |
360 node = repo.lookup(rev or '.') |
360 ctx = repo[rev or '.'] |
361 state[transition].append(node) |
361 state[transition].append(ctx.node()) |
362 ui.note(_('Changeset %s: %s\n') % (short(node), transition)) |
362 ui.status(_('Changeset %d:%s: %s\n') % (ctx, ctx, transition)) |
363 check_state(state, interactive=False) |
363 check_state(state, interactive=False) |
364 # bisect |
364 # bisect |
365 nodes, changesets, good = hbisect.bisect(repo.changelog, state) |
365 nodes, changesets, good = hbisect.bisect(repo.changelog, state) |
366 # update to next check |
366 # update to next check |
367 cmdutil.bail_if_changed(repo) |
367 cmdutil.bail_if_changed(repo) |