Mercurial > evolve
comparison tests/test-topic.t @ 2623:a263f4c0f2ee
tests: add a test to show issue5441 in test-topic.t
The issue will be fixed in the next patch and the test will be helpful to show
that.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 18 Jun 2017 03:20:52 +0530 |
parents | db617700d318 |
children | fd602980f7ee |
comparison
equal
deleted
inserted
replaced
2622:6e5f5de46c50 | 2623:a263f4c0f2ee |
---|---|
652 summary: fran? | 652 summary: fran? |
653 | 653 |
654 Readding the same topic with topic --change should work: | 654 Readding the same topic with topic --change should work: |
655 $ hg topic --change . watwat | 655 $ hg topic --change . watwat |
656 changed topic on 1 changes | 656 changed topic on 1 changes |
657 | |
658 Testing issue5441 | |
659 $ hg co 19 | |
660 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
661 $ hg log -Gr 'draft()' | |
662 @ changeset: 19:b72b86a1f96b | |
663 | tag: tip | |
664 | topic: watwat | |
665 | parent: 13:d91cd8fd490e | |
666 | user: test | |
667 | date: Thu Jan 01 00:00:00 1970 +0000 | |
668 | summary: fran? | |
669 | | |
670 o changeset: 13:d91cd8fd490e | |
671 | topic: wat | |
672 | parent: 3:a53952faf762 | |
673 | user: test | |
674 | date: Thu Jan 01 00:00:00 1970 +0000 | |
675 | summary: start on fran | |
676 | | |
677 | |
678 $ hg topics --change '13::19' changewat | |
679 changed topic on 2 changes | |
680 please run hg evolve --rev "topic(changewat)" now | |
681 $ hg log -Gr 'draft()' | |
682 o changeset: 21:3c7d84fcabcd | |
683 | tag: tip | |
684 | topic: changewat | |
685 | parent: 13:d91cd8fd490e | |
686 | user: test | |
687 | date: Thu Jan 01 00:00:00 1970 +0000 | |
688 | trouble: unstable | |
689 | summary: fran? | |
690 | | |
691 | o changeset: 20:a96ac830b62e | |
692 | | topic: changewat | |
693 | | parent: 3:a53952faf762 | |
694 | | user: test | |
695 | | date: Thu Jan 01 00:00:00 1970 +0000 | |
696 | | summary: start on fran | |
697 | | | |
698 +---@ changeset: 19:b72b86a1f96b | |
699 | | topic: watwat | |
700 | | parent: 13:d91cd8fd490e | |
701 | | user: test | |
702 | | date: Thu Jan 01 00:00:00 1970 +0000 | |
703 | | summary: fran? | |
704 | | | |
705 x | changeset: 13:d91cd8fd490e | |
706 |/ topic: wat | |
707 | parent: 3:a53952faf762 | |
708 | user: test | |
709 | date: Thu Jan 01 00:00:00 1970 +0000 | |
710 | summary: start on fran | |
711 | |