comparison tests/test-stablesort-branchpoint.t @ 3257:064738ae1588

stablesort: add a new test to check for fully independant branches Apparently, this was not covered.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 26 Nov 2017 11:58:35 -0500
parents 00e20077bccf
children 4303a46b4167 57030b9d71c3
comparison
equal deleted inserted replaced
3256:c82a2632327e 3257:064738ae1588
748 d20a80d4def3 748 d20a80d4def3
749 47da0f2c25e2 749 47da0f2c25e2
750 0dedbcd995b6 750 0dedbcd995b6
751 ed776db7ed63 751 ed776db7ed63
752 7f2454f6b04f 752 7f2454f6b04f
753
754 Merge two branches with their own independant internal merge.
755 -------------------------------------------------------------
756
757 $ hg init subbranch
758 $ cd subbranch
759 $ hg debugbuilddag '
760 > .:base
761 > +3:leftBranch
762 > +2:leftA
763 > <leftBranch.+2:leftB
764 > /leftA:leftMerge
765 > <base+2:rightBranch
766 > +4:rightA
767 > <rightBranch.+1:rightB
768 > /rightA:rightMerge
769 > +3/leftMerge
770 > '
771 $ hg log -G
772 o 22 56526aefbff4 r22 tip
773 |\
774 | o 21 d4422659bc40 r21
775 | |
776 | o 20 6a97ef856f90 r20
777 | |
778 | o 19 5648bbf0e38b r19
779 | |
780 | o 18 4442c125b80d r18 rightMerge
781 | |\
782 | | o 17 65e683dd6db4 r17 rightB
783 | | |
784 | | o 16 5188cf52b7b7 r16
785 | | |
786 | o | 15 191bac7bf37c r15 rightA
787 | | |
788 | o | 14 5cb8e6902ff3 r14
789 | | |
790 | o | 13 448a7ac3ab1f r13
791 | | |
792 | o | 12 ee222cc71ce6 r12
793 | |/
794 | o 11 e5c0d969abc4 r11 rightBranch
795 | |
796 | o 10 7cc044fdf4a7 r10
797 | |
798 o | 9 9f6c364a3574 r9 leftMerge
799 |\ \
800 | o | 8 588f0bc87ecd r8 leftB
801 | | |
802 | o | 7 e2317cea05f7 r7
803 | | |
804 | o | 6 c2c595bcd4c6 r6
805 | | |
806 o | | 5 c8d03c1b5e94 r5 leftA
807 | | |
808 o | | 4 bebd167eb94d r4
809 |/ /
810 o | 3 2dc09a01254d r3 leftBranch
811 | |
812 o | 2 01241442b3c2 r2
813 | |
814 o | 1 66f7d451a68b r1
815 |/
816 o 0 1ea73414a91b r0 base
817
818 $ hg debugdepth -r 'all()'
819 1ea73414a91b 1
820 66f7d451a68b 2
821 01241442b3c2 3
822 2dc09a01254d 4
823 bebd167eb94d 5
824 c8d03c1b5e94 6
825 c2c595bcd4c6 5
826 e2317cea05f7 6
827 588f0bc87ecd 7
828 9f6c364a3574 10
829 7cc044fdf4a7 2
830 e5c0d969abc4 3
831 ee222cc71ce6 4
832 448a7ac3ab1f 5
833 5cb8e6902ff3 6
834 191bac7bf37c 7
835 5188cf52b7b7 4
836 65e683dd6db4 5
837 4442c125b80d 10
838 5648bbf0e38b 11
839 6a97ef856f90 12
840 d4422659bc40 13
841 56526aefbff4 23
842 $ hg showsort --rev 'tip'
843 1ea73414a91b
844 66f7d451a68b
845 01241442b3c2
846 2dc09a01254d
847 bebd167eb94d
848 c8d03c1b5e94
849 c2c595bcd4c6
850 e2317cea05f7
851 588f0bc87ecd
852 9f6c364a3574
853 7cc044fdf4a7
854 e5c0d969abc4
855 5188cf52b7b7
856 65e683dd6db4
857 ee222cc71ce6
858 448a7ac3ab1f
859 5cb8e6902ff3
860 191bac7bf37c
861 4442c125b80d
862 5648bbf0e38b
863 6a97ef856f90
864 d4422659bc40
865 56526aefbff4
866 $ cd ..