Mercurial > evolve
comparison tests/test-topic-stack.t @ 5754:03410b04cf10 mercurial-5.6
tests: back out changeset 59b2be90e9fd
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 28 Jan 2021 18:57:48 +0800 |
parents | ded843f23065 |
children | 6ce036cb7fd4 fd039a7f0c3c |
comparison
equal
deleted
inserted
replaced
5753:f60f1ded1a20 | 5754:03410b04cf10 |
---|---|
408 ------------------------------------- | 408 ------------------------------------- |
409 | 409 |
410 Make things linear again | 410 Make things linear again |
411 | 411 |
412 $ hg rebase -s 'desc(c_e)' -d 'desc(c_d) - obsolete()' | 412 $ hg rebase -s 'desc(c_e)' -d 'desc(c_d) - obsolete()' |
413 rebasing 4:0f9ac936c87d foo "c_e" | 413 rebasing 4:0f9ac936c87d "c_e" (foo) |
414 rebasing 5:6559e6d93aea foo "c_f" | 414 rebasing 5:6559e6d93aea "c_f" (foo) |
415 $ hg log -G | 415 $ hg log -G |
416 o 8 default {foo} draft c_f | 416 o 8 default {foo} draft c_f |
417 | | 417 | |
418 o 7 default {foo} draft c_e | 418 o 7 default {foo} draft c_e |
419 | | 419 | |
478 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 478 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
479 $ echo ccc > ddd | 479 $ echo ccc > ddd |
480 $ hg commit --amend -m 'c_D' | 480 $ hg commit --amend -m 'c_D' |
481 4 new orphan changesets | 481 4 new orphan changesets |
482 $ hg rebase -d . -s 'desc(c_g)' | 482 $ hg rebase -d . -s 'desc(c_g)' |
483 rebasing 9:81264ae8a36a foo "c_g" | 483 rebasing 9:81264ae8a36a "c_g" (foo) |
484 rebasing 10:fde5f5941642 foo "c_h" | 484 rebasing 10:fde5f5941642 "c_h" (foo) |
485 $ hg log -G | 485 $ hg log -G |
486 o 13 default {foo} draft c_h | 486 o 13 default {foo} draft c_h |
487 | | 487 | |
488 o 12 default {foo} draft c_g | 488 o 12 default {foo} draft c_g |
489 | | 489 | |
544 | | 544 | |
545 o 0 default {} public c_a | 545 o 0 default {} public c_a |
546 | 546 |
547 Converting into a linear chain | 547 Converting into a linear chain |
548 $ hg rebase -s 'desc("c_e") - obsolete()' -d 'desc("c_h") - obsolete()' | 548 $ hg rebase -s 'desc("c_e") - obsolete()' -d 'desc("c_h") - obsolete()' |
549 rebasing 7:215bc359096a foo "c_e" | 549 rebasing 7:215bc359096a "c_e" (foo) |
550 rebasing 8:ec9267b3f33f foo "c_f" | 550 rebasing 8:ec9267b3f33f "c_f" (foo) |
551 | 551 |
552 $ hg log -G | 552 $ hg log -G |
553 o 15 default {foo} draft c_f | 553 o 15 default {foo} draft c_f |
554 | | 554 | |
555 o 14 default {foo} draft c_e | 555 o 14 default {foo} draft c_e |
591 o 1 default {} public c_b | 591 o 1 default {} public c_b |
592 | | 592 | |
593 o 0 default {} public c_a | 593 o 0 default {} public c_a |
594 | 594 |
595 $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()' | 595 $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()' |
596 rebasing 15:77082e55de88 foo "c_f" | 596 rebasing 15:77082e55de88 "c_f" (foo) |
597 switching to topic foo | 597 switching to topic foo |
598 1 new orphan changesets | 598 1 new orphan changesets |
599 switching to topic foobar | 599 switching to topic foobar |
600 $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()' | 600 $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()' |
601 rebasing 12:0c3e8aed985d foo "c_g" | 601 rebasing 12:0c3e8aed985d "c_g" (foo) |
602 switching to topic foo | 602 switching to topic foo |
603 rebasing 13:b9e4f3709bc5 foo "c_h" | 603 rebasing 13:b9e4f3709bc5 "c_h" (foo) |
604 rebasing 16:4bc813530301 foobar "c_e" | 604 rebasing 16:4bc813530301 "c_e" (foobar) |
605 switching to topic foobar | 605 switching to topic foobar |
606 rebasing 18:4406ea4be852 tip foo "c_f" | 606 rebasing 18:4406ea4be852 "c_f" (tip foo) |
607 switching to topic foo | 607 switching to topic foo |
608 switching to topic foobar | 608 switching to topic foobar |
609 $ hg up | 609 $ hg up |
610 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | 610 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
611 $ hg log --graph | 611 $ hg log --graph |
900 -------------------------------- | 900 -------------------------------- |
901 | 901 |
902 get things linear again | 902 get things linear again |
903 | 903 |
904 $ hg rebase -r s1 -d default | 904 $ hg rebase -r s1 -d default |
905 rebasing 16:1d84ec948370 tip blue "c_D" | 905 rebasing 16:1d84ec948370 "c_D" (tip blue) |
906 switching to topic blue | 906 switching to topic blue |
907 $ hg rebase -r s2 -d s1 | 907 $ hg rebase -r s2 -d s1 |
908 rebasing 13:3ab2eedae500 blue "c_G" | 908 rebasing 13:3ab2eedae500 "c_G" (blue) |
909 $ hg rebase -r s3 -d s2 | 909 $ hg rebase -r s3 -d s2 |
910 rebasing 8:3bfe800e0486 blue "c_I" | 910 rebasing 8:3bfe800e0486 "c_I" (blue) |
911 $ hg stack | 911 $ hg stack |
912 ### topic: blue | 912 ### topic: blue |
913 ### target: default (branch) | 913 ### target: default (branch) |
914 s3: c_I | 914 s3: c_I |
915 s2: c_G | 915 s2: c_G |