Show More
@@ -357,9 +357,9 b' def bisect(ui, repo, rev=None, extra=Non' | |||
|
357 | 357 | raise util.Abort(_("%s killed") % command) |
|
358 | 358 | else: |
|
359 | 359 | transition = "bad" |
|
360 |
|
|
|
361 | state[transition].append(node) | |
|
362 |
ui. |
|
|
360 | ctx = repo[rev or '.'] | |
|
361 | state[transition].append(ctx.node()) | |
|
362 | ui.status(_('Changeset %d:%s: %s\n') % (ctx, ctx, transition)) | |
|
363 | 363 | check_state(state, interactive=False) |
|
364 | 364 | # bisect |
|
365 | 365 | nodes, changesets, good = hbisect.bisect(repo.changelog, state) |
@@ -308,6 +308,11 b' abort: cannot find executable: foobar' | |||
|
308 | 308 | % test bisecting command |
|
309 | 309 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) |
|
310 | 310 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
311 | Changeset 15:e7fa0811edb0: good | |
|
312 | Changeset 7:03750880c6b5: good | |
|
313 | Changeset 3:b53bea5e2fcb: bad | |
|
314 | Changeset 5:7874a09ea728: bad | |
|
315 | Changeset 6:a3d5c6fdf0d3: good | |
|
311 | 316 | The first good revision is: |
|
312 | 317 | changeset: 6:a3d5c6fdf0d3 |
|
313 | 318 | user: test |
General Comments 0
You need to be logged in to leave comments.
Login now