Mercurial > hg
comparison tests/test-bisect.t @ 45875:e641bb2a6159
errors: raise StateError in `hg bisect`
Differential Revision: https://phab.mercurial-scm.org/D9337
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 17 Nov 2020 15:42:42 -0800 |
parents | 8d72e29ad1e0 |
children | 744ea3c4f41b |
comparison
equal
deleted
inserted
replaced
45874:1a72e4839795 | 45875:e641bb2a6159 |
---|---|
362 test no action | 362 test no action |
363 | 363 |
364 $ hg bisect -r | 364 $ hg bisect -r |
365 $ hg bisect | 365 $ hg bisect |
366 abort: cannot bisect (no known good revisions) | 366 abort: cannot bisect (no known good revisions) |
367 [255] | 367 [20] |
368 | 368 |
369 | 369 |
370 reproduce AssertionError, issue1445 | 370 reproduce AssertionError, issue1445 |
371 | 371 |
372 $ hg bisect -r | 372 $ hg bisect -r |
473 $ hg bisect -r | 473 $ hg bisect -r |
474 $ hg up -qr tip | 474 $ hg up -qr tip |
475 $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" | 475 $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" |
476 changeset 31:58c80a7c8a40: good | 476 changeset 31:58c80a7c8a40: good |
477 abort: cannot bisect (no known bad revisions) | 477 abort: cannot bisect (no known bad revisions) |
478 [255] | 478 [20] |
479 $ hg up -qr 0 | 479 $ hg up -qr 0 |
480 $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" | 480 $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" |
481 changeset 0:b99c7b9c8e11: bad | 481 changeset 0:b99c7b9c8e11: bad |
482 changeset 15:e7fa0811edb0: good | 482 changeset 15:e7fa0811edb0: good |
483 changeset 7:03750880c6b5: good | 483 changeset 7:03750880c6b5: good |
543 $ hg bisect -r | 543 $ hg bisect -r |
544 $ hg up -qr tip | 544 $ hg up -qr tip |
545 $ hg bisect --command "sh \"$TESTTMP/script.sh\" and some params" | 545 $ hg bisect --command "sh \"$TESTTMP/script.sh\" and some params" |
546 changeset 31:58c80a7c8a40: good | 546 changeset 31:58c80a7c8a40: good |
547 abort: cannot bisect (no known bad revisions) | 547 abort: cannot bisect (no known bad revisions) |
548 [255] | 548 [20] |
549 $ hg up -qr 0 | 549 $ hg up -qr 0 |
550 $ hg bisect --command "sh \"$TESTTMP/script.sh\" and some params" | 550 $ hg bisect --command "sh \"$TESTTMP/script.sh\" and some params" |
551 changeset 0:b99c7b9c8e11: bad | 551 changeset 0:b99c7b9c8e11: bad |
552 changeset 15:e7fa0811edb0: good | 552 changeset 15:e7fa0811edb0: good |
553 changeset 7:03750880c6b5: good | 553 changeset 7:03750880c6b5: good |