Show More
@@ -684,7 +684,7 b' def bisect(ui, repo, rev=None, extra=Non' | |||||
684 | ctx = scmutil.revsingle(repo, rev, node) |
|
684 | ctx = scmutil.revsingle(repo, rev, node) | |
685 | rev = None # clear for future iterations |
|
685 | rev = None # clear for future iterations | |
686 | state[transition].append(ctx.node()) |
|
686 | state[transition].append(ctx.node()) | |
687 |
ui.status(_(' |
|
687 | ui.status(_('changeset %d:%s: %s\n') % (ctx, ctx, transition)) | |
688 | check_state(state, interactive=False) |
|
688 | check_state(state, interactive=False) | |
689 | # bisect |
|
689 | # bisect | |
690 | nodes, changesets, good = hbisect.bisect(repo.changelog, state) |
|
690 | nodes, changesets, good = hbisect.bisect(repo.changelog, state) |
@@ -462,11 +462,11 b' test bisecting command' | |||||
462 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) |
|
462 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) | |
463 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
463 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
464 | $ hg bisect --command "'`pwd`/script.py' and some parameters" |
|
464 | $ hg bisect --command "'`pwd`/script.py' and some parameters" | |
465 |
|
|
465 | changeset 15:e7fa0811edb0: good | |
466 |
|
|
466 | changeset 7:03750880c6b5: good | |
467 |
|
|
467 | changeset 3:b53bea5e2fcb: bad | |
468 |
|
|
468 | changeset 5:7874a09ea728: bad | |
469 |
|
|
469 | changeset 6:a3d5c6fdf0d3: good | |
470 | The first good revision is: |
|
470 | The first good revision is: | |
471 | changeset: 6:a3d5c6fdf0d3 |
|
471 | changeset: 6:a3d5c6fdf0d3 | |
472 | user: test |
|
472 | user: test | |
@@ -495,11 +495,11 b' command' | |||||
495 | $ hg bisect --bad 0 --noupdate |
|
495 | $ hg bisect --bad 0 --noupdate | |
496 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) |
|
496 | Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests) | |
497 | $ hg bisect --command "'`pwd`/script.sh' and some params" --noupdate |
|
497 | $ hg bisect --command "'`pwd`/script.sh' and some params" --noupdate | |
498 |
|
|
498 | changeset 15:e7fa0811edb0: good | |
499 |
|
|
499 | changeset 7:03750880c6b5: good | |
500 |
|
|
500 | changeset 3:b53bea5e2fcb: bad | |
501 |
|
|
501 | changeset 5:7874a09ea728: bad | |
502 |
|
|
502 | changeset 6:a3d5c6fdf0d3: good | |
503 | The first good revision is: |
|
503 | The first good revision is: | |
504 | changeset: 6:a3d5c6fdf0d3 |
|
504 | changeset: 6:a3d5c6fdf0d3 | |
505 | user: test |
|
505 | user: test |
General Comments 0
You need to be logged in to leave comments.
Login now