Mercurial > evolve
comparison tests/test-topic-stack.t @ 3431:2e703ed1c713
evolve: update output for wider reporting of troubled changesets
CORE-TEST-OUTPUT-UPDATE: 1a09dad8b85a
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 13 Jan 2018 14:35:49 -0800 |
parents | d3a17c67f85c |
children | 2823c82ad8a4 |
comparison
equal
deleted
inserted
replaced
3430:14fbb847be5a | 3431:2e703ed1c713 |
---|---|
260 Case with some of the topic unstable | 260 Case with some of the topic unstable |
261 ------------------------------------ | 261 ------------------------------------ |
262 | 262 |
263 $ echo bbb > ddd | 263 $ echo bbb > ddd |
264 $ hg commit --amend | 264 $ hg commit --amend |
265 2 new orphan changesets | |
265 $ hg log -G | 266 $ hg log -G |
266 @ 6 default {foo} draft c_d | 267 @ 6 default {foo} draft c_d |
267 | | 268 | |
268 | * 5 default {foo} draft c_f | 269 | * 5 default {foo} draft c_f |
269 | | | 270 | | |
394 | 395 |
395 $ hg up 'desc(c_d)' | 396 $ hg up 'desc(c_d)' |
396 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 397 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
397 $ echo ccc > ddd | 398 $ echo ccc > ddd |
398 $ hg commit --amend -m 'c_D' | 399 $ hg commit --amend -m 'c_D' |
400 4 new orphan changesets | |
399 $ hg rebase -d . -s 'desc(c_g)' | 401 $ hg rebase -d . -s 'desc(c_g)' |
400 rebasing 9:81264ae8a36a "c_g" (foo) | 402 rebasing 9:81264ae8a36a "c_g" (foo) |
401 rebasing 10:fde5f5941642 "c_h" (foo) | 403 rebasing 10:fde5f5941642 "c_h" (foo) |
402 $ hg log -G | 404 $ hg log -G |
403 o 13 default {foo} draft c_h | 405 o 13 default {foo} draft c_h |
484 o 0 default {} public c_a | 486 o 0 default {} public c_a |
485 | 487 |
486 Changing topics on some commits in between | 488 Changing topics on some commits in between |
487 $ hg topic foobar -r 'desc(c_e) + desc(c_D)' | 489 $ hg topic foobar -r 'desc(c_e) + desc(c_D)' |
488 switching to topic foobar | 490 switching to topic foobar |
491 4 new orphan changesets | |
489 changed topic on 2 changes | 492 changed topic on 2 changes |
490 $ hg log -G | 493 $ hg log -G |
491 @ 17 default {foobar} draft c_D | 494 @ 17 default {foobar} draft c_D |
492 | | 495 | |
493 | * 16 default {foobar} draft c_e | 496 | * 16 default {foobar} draft c_e |
509 o 0 default {} public c_a | 512 o 0 default {} public c_a |
510 | 513 |
511 $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()' | 514 $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()' |
512 rebasing 15:77082e55de88 "c_f" (foo) | 515 rebasing 15:77082e55de88 "c_f" (foo) |
513 switching to topic foo | 516 switching to topic foo |
517 1 new orphan changesets | |
514 switching to topic foobar | 518 switching to topic foobar |
515 $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()' | 519 $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()' |
516 rebasing 12:0c3e8aed985d "c_g" (foo) | 520 rebasing 12:0c3e8aed985d "c_g" (foo) |
517 switching to topic foo | 521 switching to topic foo |
518 rebasing 13:b9e4f3709bc5 "c_h" (foo) | 522 rebasing 13:b9e4f3709bc5 "c_h" (foo) |
660 | 664 |
661 $ hg up 'desc("c_B")' | 665 $ hg up 'desc("c_B")' |
662 switching to topic red | 666 switching to topic red |
663 0 files updated, 0 files merged, 6 files removed, 0 files unresolved | 667 0 files updated, 0 files merged, 6 files removed, 0 files unresolved |
664 $ hg commit --amend --user test2 | 668 $ hg commit --amend --user test2 |
669 7 new orphan changesets | |
665 $ hg up 'desc("c_C")' | 670 $ hg up 'desc("c_C")' |
666 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 671 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
667 $ hg commit --amend --user test2 | 672 $ hg commit --amend --user test2 |
668 $ hg up 'desc("c_D")' | 673 $ hg up 'desc("c_D")' |
669 switching to topic blue | 674 switching to topic blue |
820 $ hg status --change . | 825 $ hg status --change . |
821 A ggg | 826 A ggg |
822 $ echo zzz > Z | 827 $ echo zzz > Z |
823 $ hg add Z | 828 $ hg add Z |
824 $ hg commit --amend | 829 $ hg commit --amend |
830 1 new orphan changesets | |
825 $ hg status --change . | 831 $ hg status --change . |
826 A Z | 832 A Z |
827 A ggg | 833 A ggg |
828 $ hg stack | 834 $ hg stack |
829 ### topic: blue | 835 ### topic: blue |