Mercurial > evolve
comparison tests/test-prev-next.t @ 5935:aff365171309
branching: merge with stable
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 25 May 2021 18:46:09 +0200 |
parents | e5250f24eed7 126b9be3482d |
children | b68789e8c535 |
comparison
equal
deleted
inserted
replaced
5926:aca07ac01167 | 5935:aff365171309 |
---|---|
649 abort: cannot specify both --abort and --move-bookmark | 649 abort: cannot specify both --abort and --move-bookmark |
650 [10] | 650 [10] |
651 $ hg next --abort --merge | 651 $ hg next --abort --merge |
652 abort: cannot specify both --abort and --merge | 652 abort: cannot specify both --abort and --merge |
653 [10] | 653 [10] |
654 | |
655 $ cd .. | |
656 | |
657 Testing --merge and --evolve flags: 1 child, 1 aspchild, dirty working copy | |
658 | |
659 $ hg init next-dirty-evolve | |
660 $ cd next-dirty-evolve | |
661 | |
662 $ echo apple > a | |
663 $ hg ci -qAm apple | |
664 $ echo banana > b | |
665 $ hg ci -qAm banana | |
666 $ echo coconut > c | |
667 $ hg ci -qAm coconut | |
668 | |
669 $ hg prev | |
670 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
671 [1] banana | |
672 $ echo blueberry > b | |
673 $ hg ci --amend -m blueberry | |
674 1 new orphan changesets | |
675 | |
676 $ echo durian > d | |
677 $ hg ci -qAm durian | |
678 $ hg log -GT "{rev} {desc}\n" | |
679 @ 4 durian | |
680 | | |
681 o 3 blueberry | |
682 | | |
683 | * 2 coconut | |
684 | | | |
685 | x 1 banana | |
686 |/ | |
687 o 0 apple | |
688 | |
689 | |
690 $ hg up 'desc("blueberry")' | |
691 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
692 $ echo avocado > a | |
693 | |
694 $ hg next --no-merge --evolve --dry-run | |
695 abort: uncommitted changes | |
696 (use `hg amend`, `hg revert` or `hg shelve`) | |
697 [20] | |
698 $ hg next --no-merge --no-evolve --dry-run | |
699 abort: uncommitted changes | |
700 (do you want --merge?) | |
701 [20] | |
702 $ hg next --merge --no-evolve --dry-run | |
703 hg update db0dc1f00682; | |
704 [4] durian | |
705 $ hg next --merge --evolve --dry-run | |
706 abort: uncommitted changes | |
707 (use `hg amend`, `hg revert` or `hg shelve`) | |
708 [20] |