##// END OF EJS Templates
tests: add some more debugmergestate calls in `test-merge-criss-cross.t`...
Pulkit Goyal -
r46160:8c02c626 default
parent child Browse files
Show More
@@ -659,6 +659,8 b' the conflict is properly detected.'
659 (branch merge, don't forget to commit)
659 (branch merge, don't forget to commit)
660 $ ls -1
660 $ ls -1
661 other-file
661 other-file
662 $ hg debugmergestate
663 no merge state found
662
664
663 (merging a deletion with keeping conflict)
665 (merging a deletion with keeping conflict)
664 BROKEN: this should result in conflict
666 BROKEN: this should result in conflict
@@ -673,6 +675,16 b' BROKEN: this should result in conflict'
673 other-file
675 other-file
674 the-file (newfilenode !)
676 the-file (newfilenode !)
675
677
678 #if newfilenode
679 $ hg debugmergestate
680 local (working copy): adfd88e5d7d3d3e22bdd26512991ee64d59c1d8f
681 other (merge rev): 38a4c3e7cac8c294ecb0a7a85a05464e9836ca78
682 extra: the-file (merge-removal-candidate = yes)
683 #else
684 $ hg debugmergestate
685 no merge state found
686 #endif
687
676 (merging a deletion with keeping → conflict)
688 (merging a deletion with keeping → conflict)
677 BROKEN: this should result in conflict
689 BROKEN: this should result in conflict
678
690
@@ -684,6 +696,8 b' BROKEN: this should result in conflict'
684 (branch merge, don't forget to commit)
696 (branch merge, don't forget to commit)
685 $ ls -1
697 $ ls -1
686 other-file
698 other-file
699 $ hg debugmergestate
700 no merge state found
687
701
688 (merging two deletion together no conflict)
702 (merging two deletion together no conflict)
689
703
@@ -694,6 +708,8 b' BROKEN: this should result in conflict'
694 (branch merge, don't forget to commit)
708 (branch merge, don't forget to commit)
695 $ ls -1
709 $ ls -1
696 other-file
710 other-file
711 $ hg debugmergestate
712 no merge state found
697
713
698 (merging a deletion with keeping → conflict)
714 (merging a deletion with keeping → conflict)
699 BROKEN: this should result in conflict
715 BROKEN: this should result in conflict
@@ -707,6 +723,15 b' BROKEN: this should result in conflict'
707 $ ls -1
723 $ ls -1
708 other-file
724 other-file
709 the-file (newfilenode !)
725 the-file (newfilenode !)
726 #if newfilenode
727 $ hg debugmergestate
728 local (working copy): a4e0e44229dc130be2915b92c957c093f8c7ee3e
729 other (merge rev): 38a4c3e7cac8c294ecb0a7a85a05464e9836ca78
730 extra: the-file (merge-removal-candidate = yes)
731 #else
732 $ hg debugmergestate
733 no merge state found
734 #endif
710
735
711 (merging a deletion with keeping conflict)
736 (merging a deletion with keeping conflict)
712 BROKEN: this should result in conflict
737 BROKEN: this should result in conflict
@@ -719,6 +744,8 b' BROKEN: this should result in conflict'
719 (branch merge, don't forget to commit)
744 (branch merge, don't forget to commit)
720 $ ls -1
745 $ ls -1
721 other-file
746 other-file
747 $ hg debugmergestate
748 no merge state found
722
749
723 (merging two "keeping" together → no conflict)
750 (merging two "keeping" together → no conflict)
724
751
@@ -731,6 +758,15 b' BROKEN: this should result in conflict'
731 $ ls -1
758 $ ls -1
732 other-file
759 other-file
733 the-file
760 the-file
761 #if newfilenode
762 $ hg debugmergestate
763 local (working copy): 5e3eccec60d88f94a7ba57c351f32cb24c15fe0c
764 other (merge rev): 38a4c3e7cac8c294ecb0a7a85a05464e9836ca78
765 extra: the-file (filenode-source = other)
766 #else
767 $ hg debugmergestate
768 no merge state found
769 #endif
734
770
735 (merging a deletion with keeping conflict)
771 (merging a deletion with keeping conflict)
736 BROKEN: this should result in conflict
772 BROKEN: this should result in conflict
@@ -744,6 +780,8 b' BROKEN: this should result in conflict'
744 $ ls -1
780 $ ls -1
745 other-file
781 other-file
746 the-file
782 the-file
783 $ hg debugmergestate
784 no merge state found
747
785
748 (merging a deletion with keeping conflict)
786 (merging a deletion with keeping conflict)
749 BROKEN: this should result in conflict
787 BROKEN: this should result in conflict
@@ -756,6 +794,8 b' BROKEN: this should result in conflict'
756 $ ls -1
794 $ ls -1
757 other-file
795 other-file
758 the-file
796 the-file
797 $ hg debugmergestate
798 no merge state found
759
799
760 (merging two "keeping" together → no conflict)
800 (merging two "keeping" together → no conflict)
761
801
@@ -768,6 +808,8 b' BROKEN: this should result in conflict'
768 $ ls -1
808 $ ls -1
769 other-file
809 other-file
770 the-file
810 the-file
811 $ hg debugmergestate
812 no merge state found
771
813
772 (merging a deletion with keeping conflict)
814 (merging a deletion with keeping conflict)
773 BROKEN: this should result in conflict
815 BROKEN: this should result in conflict
@@ -780,6 +822,8 b' BROKEN: this should result in conflict'
780 $ ls -1
822 $ ls -1
781 other-file
823 other-file
782 the-file
824 the-file
825 $ hg debugmergestate
826 no merge state found
783
827
784 (merging a deletion with keeping conflict)
828 (merging a deletion with keeping conflict)
785 BROKEN: this should result in conflict
829 BROKEN: this should result in conflict
@@ -792,3 +836,12 b' BROKEN: this should result in conflict'
792 $ ls -1
836 $ ls -1
793 other-file
837 other-file
794 the-file
838 the-file
839 #if newfilenode
840 $ hg debugmergestate
841 local (working copy): 38a4c3e7cac8c294ecb0a7a85a05464e9836ca78
842 other (merge rev): a4e0e44229dc130be2915b92c957c093f8c7ee3e
843 extra: the-file (merge-removal-candidate = yes)
844 #else
845 $ hg debugmergestate
846 no merge state found
847 #endif
General Comments 0
You need to be logged in to leave comments. Login now