Show More
@@ -357,9 +357,9 b' def bisect(ui, repo, rev=None, extra=Non' | |||||
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 |
|
|
360 | ctx = repo[rev or '.'] | |
361 | state[transition].append(node) |
|
361 | state[transition].append(ctx.node()) | |
362 |
ui. |
|
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) |
@@ -308,6 +308,11 b' abort: cannot find executable: foobar' | |||||
308 | % test bisecting command |
|
308 | % test bisecting command | |
309 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) |
|
309 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) | |
310 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
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 | The first good revision is: |
|
316 | The first good revision is: | |
312 | changeset: 6:a3d5c6fdf0d3 |
|
317 | changeset: 6:a3d5c6fdf0d3 | |
313 | user: test |
|
318 | user: test |
General Comments 0
You need to be logged in to leave comments.
Login now