##// END OF EJS Templates
merge: add conflict labels to merge command...
Simon Farnsworth -
r30062:940c05b2 default
parent child Browse files
Show More
@@ -5532,7 +5532,9 b' def merge(ui, repo, node=None, **opts):'
5532 # ui.forcemerge is an internal variable, do not document
5532 # ui.forcemerge is an internal variable, do not document
5533 repo.ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), 'merge')
5533 repo.ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), 'merge')
5534 force = opts.get('force')
5534 force = opts.get('force')
5535 return hg.merge(repo, node, force=force, mergeforce=force)
5535 labels = ['working copy', 'merge rev']
5536 return hg.merge(repo, node, force=force, mergeforce=force,
5537 labels=labels)
5536 finally:
5538 finally:
5537 ui.setconfig('ui', 'forcemerge', '', 'merge')
5539 ui.setconfig('ui', 'forcemerge', '', 'merge')
5538
5540
@@ -768,10 +768,11 b' def updatetotally(ui, repo, checkout, br'
768
768
769 return ret
769 return ret
770
770
771 def merge(repo, node, force=None, remind=True, mergeforce=False):
771 def merge(repo, node, force=None, remind=True, mergeforce=False, labels=None):
772 """Branch merge with node, resolving changes. Return true if any
772 """Branch merge with node, resolving changes. Return true if any
773 unresolved conflicts."""
773 unresolved conflicts."""
774 stats = mergemod.update(repo, node, True, force, mergeforce=mergeforce)
774 stats = mergemod.update(repo, node, True, force, mergeforce=mergeforce,
775 labels=labels)
775 _showstats(repo, stats)
776 _showstats(repo, stats)
776 if stats[3]:
777 if stats[3]:
777 repo.ui.status(_("use 'hg resolve' to retry unresolved file merges "
778 repo.ui.status(_("use 'hg resolve' to retry unresolved file merges "
@@ -638,7 +638,7 b' Amend a merge changeset (with renames an'
638 (no more unresolved files)
638 (no more unresolved files)
639 $ hg ci -m 'merge bar'
639 $ hg ci -m 'merge bar'
640 $ hg log --config diff.git=1 -pr .
640 $ hg log --config diff.git=1 -pr .
641 changeset: 23:93cd4445f720
641 changeset: 23:69c24fe01e35
642 tag: tip
642 tag: tip
643 parent: 22:30d96aeaf27b
643 parent: 22:30d96aeaf27b
644 parent: 21:1aa437659d19
644 parent: 21:1aa437659d19
@@ -653,11 +653,11 b' Amend a merge changeset (with renames an'
653 --- a/cc
653 --- a/cc
654 +++ b/cc
654 +++ b/cc
655 @@ -1,1 +1,5 @@
655 @@ -1,1 +1,5 @@
656 +<<<<<<< local: 30d96aeaf27b - test: aa
656 +<<<<<<< working copy: 30d96aeaf27b - test: aa
657 dd
657 dd
658 +=======
658 +=======
659 +cc
659 +cc
660 +>>>>>>> other: 1aa437659d19 bar - test: aazzcc
660 +>>>>>>> merge rev: 1aa437659d19 bar - test: aazzcc
661 diff --git a/z b/zz
661 diff --git a/z b/zz
662 rename from z
662 rename from z
663 rename to zz
663 rename to zz
@@ -671,7 +671,7 b' Amend a merge changeset (with renames an'
671 $ HGEDITOR="sh .hg/checkeditform.sh" hg ci --amend -m 'merge bar (amend message)' --edit
671 $ HGEDITOR="sh .hg/checkeditform.sh" hg ci --amend -m 'merge bar (amend message)' --edit
672 HGEDITFORM=commit.amend.merge
672 HGEDITFORM=commit.amend.merge
673 $ hg log --config diff.git=1 -pr .
673 $ hg log --config diff.git=1 -pr .
674 changeset: 24:832b50f2c271
674 changeset: 24:cfa2fbef3169
675 tag: tip
675 tag: tip
676 parent: 22:30d96aeaf27b
676 parent: 22:30d96aeaf27b
677 parent: 21:1aa437659d19
677 parent: 21:1aa437659d19
@@ -686,11 +686,11 b' Amend a merge changeset (with renames an'
686 --- a/cc
686 --- a/cc
687 +++ b/cc
687 +++ b/cc
688 @@ -1,1 +1,5 @@
688 @@ -1,1 +1,5 @@
689 +<<<<<<< local: 30d96aeaf27b - test: aa
689 +<<<<<<< working copy: 30d96aeaf27b - test: aa
690 dd
690 dd
691 +=======
691 +=======
692 +cc
692 +cc
693 +>>>>>>> other: 1aa437659d19 bar - test: aazzcc
693 +>>>>>>> merge rev: 1aa437659d19 bar - test: aazzcc
694 diff --git a/z b/zz
694 diff --git a/z b/zz
695 rename from z
695 rename from z
696 rename to zz
696 rename to zz
@@ -704,7 +704,7 b' Amend a merge changeset (with renames an'
704 $ hg mv zz z
704 $ hg mv zz z
705 $ hg ci --amend -m 'merge bar (undo rename)'
705 $ hg ci --amend -m 'merge bar (undo rename)'
706 $ hg log --config diff.git=1 -pr .
706 $ hg log --config diff.git=1 -pr .
707 changeset: 26:bdafc5c72f74
707 changeset: 26:c34de68b014c
708 tag: tip
708 tag: tip
709 parent: 22:30d96aeaf27b
709 parent: 22:30d96aeaf27b
710 parent: 21:1aa437659d19
710 parent: 21:1aa437659d19
@@ -719,11 +719,11 b' Amend a merge changeset (with renames an'
719 --- a/cc
719 --- a/cc
720 +++ b/cc
720 +++ b/cc
721 @@ -1,1 +1,5 @@
721 @@ -1,1 +1,5 @@
722 +<<<<<<< local: 30d96aeaf27b - test: aa
722 +<<<<<<< working copy: 30d96aeaf27b - test: aa
723 dd
723 dd
724 +=======
724 +=======
725 +cc
725 +cc
726 +>>>>>>> other: 1aa437659d19 bar - test: aazzcc
726 +>>>>>>> merge rev: 1aa437659d19 bar - test: aazzcc
727
727
728 $ hg debugrename z
728 $ hg debugrename z
729 z not renamed
729 z not renamed
@@ -740,9 +740,9 b' Amend a merge changeset (with renames du'
740 $ echo aa >> aaa
740 $ echo aa >> aaa
741 $ hg ci -m 'merge bar again'
741 $ hg ci -m 'merge bar again'
742 $ hg log --config diff.git=1 -pr .
742 $ hg log --config diff.git=1 -pr .
743 changeset: 28:32f19415b634
743 changeset: 28:37d40dcef03b
744 tag: tip
744 tag: tip
745 parent: 26:bdafc5c72f74
745 parent: 26:c34de68b014c
746 parent: 27:4c94d5bc65f5
746 parent: 27:4c94d5bc65f5
747 user: test
747 user: test
748 date: Thu Jan 01 00:00:00 1970 +0000
748 date: Thu Jan 01 00:00:00 1970 +0000
@@ -775,9 +775,9 b' Amend a merge changeset (with renames du'
775 $ hg mv aaa aa
775 $ hg mv aaa aa
776 $ hg ci --amend -m 'merge bar again (undo rename)'
776 $ hg ci --amend -m 'merge bar again (undo rename)'
777 $ hg log --config diff.git=1 -pr .
777 $ hg log --config diff.git=1 -pr .
778 changeset: 30:1e2a06b3d312
778 changeset: 30:537c6d1b3633
779 tag: tip
779 tag: tip
780 parent: 26:bdafc5c72f74
780 parent: 26:c34de68b014c
781 parent: 27:4c94d5bc65f5
781 parent: 27:4c94d5bc65f5
782 user: test
782 user: test
783 date: Thu Jan 01 00:00:00 1970 +0000
783 date: Thu Jan 01 00:00:00 1970 +0000
@@ -813,13 +813,13 b' Amend a merge changeset (with manifest-l'
813 $ hg merge -q bar --config ui.interactive=True << EOF
813 $ hg merge -q bar --config ui.interactive=True << EOF
814 > c
814 > c
815 > EOF
815 > EOF
816 local changed aa which other deleted
816 local [working copy] changed aa which other [merge rev] deleted
817 use (c)hanged version, (d)elete, or leave (u)nresolved? c
817 use (c)hanged version, (d)elete, or leave (u)nresolved? c
818 $ hg ci -m 'merge bar (with conflicts)'
818 $ hg ci -m 'merge bar (with conflicts)'
819 $ hg log --config diff.git=1 -pr .
819 $ hg log --config diff.git=1 -pr .
820 changeset: 33:97a298b0c59f
820 changeset: 33:7afcba911942
821 tag: tip
821 tag: tip
822 parent: 32:3d78ce4226b8
822 parent: 32:6075d69d215d
823 parent: 31:67db8847a540
823 parent: 31:67db8847a540
824 user: test
824 user: test
825 date: Thu Jan 01 00:00:00 1970 +0000
825 date: Thu Jan 01 00:00:00 1970 +0000
@@ -829,9 +829,9 b' Amend a merge changeset (with manifest-l'
829 $ hg rm aa
829 $ hg rm aa
830 $ hg ci --amend -m 'merge bar (with conflicts, amended)'
830 $ hg ci --amend -m 'merge bar (with conflicts, amended)'
831 $ hg log --config diff.git=1 -pr .
831 $ hg log --config diff.git=1 -pr .
832 changeset: 35:6de0c1bde1c8
832 changeset: 35:376965e47ddd
833 tag: tip
833 tag: tip
834 parent: 32:3d78ce4226b8
834 parent: 32:6075d69d215d
835 parent: 31:67db8847a540
835 parent: 31:67db8847a540
836 user: test
836 user: test
837 date: Thu Jan 01 00:00:00 1970 +0000
837 date: Thu Jan 01 00:00:00 1970 +0000
@@ -927,7 +927,7 b' Test that "diff()" in committemplate wor'
927 HG: M:
927 HG: M:
928 HG: A: foo
928 HG: A: foo
929 HG: R:
929 HG: R:
930 HG: diff -r 6de0c1bde1c8 foo
930 HG: diff -r 376965e47ddd foo
931 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
931 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
932 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
932 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
933 HG: @@ -0,0 +1,1 @@
933 HG: @@ -0,0 +1,1 @@
@@ -941,12 +941,12 b' Test that "diff()" in committemplate wor'
941 HG: M:
941 HG: M:
942 HG: A: foo y
942 HG: A: foo y
943 HG: R:
943 HG: R:
944 HG: diff -r 6de0c1bde1c8 foo
944 HG: diff -r 376965e47ddd foo
945 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
945 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
946 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
946 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
947 HG: @@ -0,0 +1,1 @@
947 HG: @@ -0,0 +1,1 @@
948 HG: +foo
948 HG: +foo
949 HG: diff -r 6de0c1bde1c8 y
949 HG: diff -r 376965e47ddd y
950 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
950 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
951 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
951 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
952 HG: @@ -0,0 +1,1 @@
952 HG: @@ -0,0 +1,1 @@
@@ -959,18 +959,18 b' Test that "diff()" in committemplate wor'
959 HG: M:
959 HG: M:
960 HG: A: foo y
960 HG: A: foo y
961 HG: R: a
961 HG: R: a
962 HG: diff -r 6de0c1bde1c8 a
962 HG: diff -r 376965e47ddd a
963 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
963 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
964 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
964 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
965 HG: @@ -1,2 +0,0 @@
965 HG: @@ -1,2 +0,0 @@
966 HG: -a
966 HG: -a
967 HG: -a
967 HG: -a
968 HG: diff -r 6de0c1bde1c8 foo
968 HG: diff -r 376965e47ddd foo
969 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
969 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
970 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
970 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
971 HG: @@ -0,0 +1,1 @@
971 HG: @@ -0,0 +1,1 @@
972 HG: +foo
972 HG: +foo
973 HG: diff -r 6de0c1bde1c8 y
973 HG: diff -r 376965e47ddd y
974 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
974 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
975 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
975 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
976 HG: @@ -0,0 +1,1 @@
976 HG: @@ -0,0 +1,1 @@
@@ -983,23 +983,23 b' Test that "diff()" in committemplate wor'
983 HG: M:
983 HG: M:
984 HG: A: foo y
984 HG: A: foo y
985 HG: R: a x
985 HG: R: a x
986 HG: diff -r 6de0c1bde1c8 a
986 HG: diff -r 376965e47ddd a
987 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
987 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
988 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
988 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
989 HG: @@ -1,2 +0,0 @@
989 HG: @@ -1,2 +0,0 @@
990 HG: -a
990 HG: -a
991 HG: -a
991 HG: -a
992 HG: diff -r 6de0c1bde1c8 foo
992 HG: diff -r 376965e47ddd foo
993 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
993 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
994 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
994 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
995 HG: @@ -0,0 +1,1 @@
995 HG: @@ -0,0 +1,1 @@
996 HG: +foo
996 HG: +foo
997 HG: diff -r 6de0c1bde1c8 x
997 HG: diff -r 376965e47ddd x
998 HG: --- a/x Thu Jan 01 00:00:00 1970 +0000
998 HG: --- a/x Thu Jan 01 00:00:00 1970 +0000
999 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
999 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1000 HG: @@ -1,1 +0,0 @@
1000 HG: @@ -1,1 +0,0 @@
1001 HG: -x
1001 HG: -x
1002 HG: diff -r 6de0c1bde1c8 y
1002 HG: diff -r 376965e47ddd y
1003 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1003 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1004 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
1004 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
1005 HG: @@ -0,0 +1,1 @@
1005 HG: @@ -0,0 +1,1 @@
@@ -1014,23 +1014,23 b' Test that "diff()" in committemplate wor'
1014 HG: M:
1014 HG: M:
1015 HG: A: foo y
1015 HG: A: foo y
1016 HG: R: a x
1016 HG: R: a x
1017 HG: diff -r 6de0c1bde1c8 a
1017 HG: diff -r 376965e47ddd a
1018 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
1018 HG: --- a/a Thu Jan 01 00:00:00 1970 +0000
1019 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1019 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1020 HG: @@ -1,2 +0,0 @@
1020 HG: @@ -1,2 +0,0 @@
1021 HG: -a
1021 HG: -a
1022 HG: -a
1022 HG: -a
1023 HG: diff -r 6de0c1bde1c8 foo
1023 HG: diff -r 376965e47ddd foo
1024 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1024 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1025 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
1025 HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000
1026 HG: @@ -0,0 +1,1 @@
1026 HG: @@ -0,0 +1,1 @@
1027 HG: +foo
1027 HG: +foo
1028 HG: diff -r 6de0c1bde1c8 x
1028 HG: diff -r 376965e47ddd x
1029 HG: --- a/x Thu Jan 01 00:00:00 1970 +0000
1029 HG: --- a/x Thu Jan 01 00:00:00 1970 +0000
1030 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1030 HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1031 HG: @@ -1,1 +0,0 @@
1031 HG: @@ -1,1 +0,0 @@
1032 HG: -x
1032 HG: -x
1033 HG: diff -r 6de0c1bde1c8 y
1033 HG: diff -r 376965e47ddd y
1034 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1034 HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1035 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
1035 HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000
1036 HG: @@ -0,0 +1,1 @@
1036 HG: @@ -0,0 +1,1 @@
@@ -49,13 +49,13 b''
49 1
49 1
50 2
50 2
51 3
51 3
52 <<<<<<< local: 618808747361 - test: branch2
52 <<<<<<< working copy: 618808747361 - test: branch2
53 6
53 6
54 8
54 8
55 =======
55 =======
56 4
56 4
57 5
57 5
58 >>>>>>> other: c0c68e4fe667 - test: branch1
58 >>>>>>> merge rev: c0c68e4fe667 - test: branch1
59 Hop we are done.
59 Hop we are done.
60
60
61 $ hg status
61 $ hg status
@@ -79,13 +79,13 b' Verify custom conflict markers'
79 1
79 1
80 2
80 2
81 3
81 3
82 <<<<<<< local: test 2
82 <<<<<<< working copy: test 2
83 6
83 6
84 8
84 8
85 =======
85 =======
86 4
86 4
87 5
87 5
88 >>>>>>> other: test 1
88 >>>>>>> merge rev: test 1
89 Hop we are done.
89 Hop we are done.
90
90
91 Verify line splitting of custom conflict marker which causes multiple lines
91 Verify line splitting of custom conflict marker which causes multiple lines
@@ -105,13 +105,13 b' Verify line splitting of custom conflict'
105 1
105 1
106 2
106 2
107 3
107 3
108 <<<<<<< local: test 2
108 <<<<<<< working copy: test 2
109 6
109 6
110 8
110 8
111 =======
111 =======
112 4
112 4
113 5
113 5
114 >>>>>>> other: test 1
114 >>>>>>> merge rev: test 1
115 Hop we are done.
115 Hop we are done.
116
116
117 Verify line trimming of custom conflict marker using multi-byte characters
117 Verify line trimming of custom conflict marker using multi-byte characters
@@ -144,13 +144,13 b' Verify line trimming of custom conflict '
144 1
144 1
145 2
145 2
146 3
146 3
147 <<<<<<< local: 123456789012345678901234567890123456789012345678901234567890\xe3\x81\x82... (esc)
147 <<<<<<< working copy: 1234567890123456789012345678901234567890123456789012345...
148 6
148 6
149 8
149 8
150 =======
150 =======
151 4
151 4
152 5
152 5
153 >>>>>>> other: branch1
153 >>>>>>> merge rev: branch1
154 Hop we are done.
154 Hop we are done.
155
155
156 Verify basic conflict markers
156 Verify basic conflict markers
@@ -170,13 +170,13 b' Verify basic conflict markers'
170 1
170 1
171 2
171 2
172 3
172 3
173 <<<<<<< local
173 <<<<<<< working copy
174 6
174 6
175 8
175 8
176 =======
176 =======
177 4
177 4
178 5
178 5
179 >>>>>>> other
179 >>>>>>> merge rev
180 Hop we are done.
180 Hop we are done.
181
181
182 internal:merge3
182 internal:merge3
@@ -191,7 +191,7 b' internal:merge3'
191 [1]
191 [1]
192 $ cat a
192 $ cat a
193 Small Mathematical Series.
193 Small Mathematical Series.
194 <<<<<<< local
194 <<<<<<< working copy
195 1
195 1
196 2
196 2
197 3
197 3
@@ -209,7 +209,7 b' internal:merge3'
209 3
209 3
210 4
210 4
211 5
211 5
212 >>>>>>> other
212 >>>>>>> merge rev
213 Hop we are done.
213 Hop we are done.
214
214
215 Add some unconflicting changes on each head, to make sure we really
215 Add some unconflicting changes on each head, to make sure we really
@@ -1113,11 +1113,11 b' conflict: keyword should stay outside co'
1113 [1]
1113 [1]
1114 $ cat m
1114 $ cat m
1115 $Id$
1115 $Id$
1116 <<<<<<< local: 88a80c8d172e - test: 8bar
1116 <<<<<<< working copy: 88a80c8d172e - test: 8bar
1117 bar
1117 bar
1118 =======
1118 =======
1119 foo
1119 foo
1120 >>>>>>> other: 85d2d2d732a5 - test: simplemerge
1120 >>>>>>> merge rev: 85d2d2d732a5 - test: simplemerge
1121
1121
1122 resolve to local, m must contain hash of last change (local parent)
1122 resolve to local, m must contain hash of last change (local parent)
1123
1123
@@ -54,9 +54,9 b" Make sure HGMERGE doesn't interfere with"
54 Non-interactive merge:
54 Non-interactive merge:
55
55
56 $ hg merge -y
56 $ hg merge -y
57 local changed file1 which other deleted
57 local [working copy] changed file1 which other [merge rev] deleted
58 use (c)hanged version, (d)elete, or leave (u)nresolved? u
58 use (c)hanged version, (d)elete, or leave (u)nresolved? u
59 other changed file2 which local deleted
59 other [merge rev] changed file2 which local [working copy] deleted
60 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
60 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
61 merging file3
61 merging file3
62 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
62 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
@@ -77,6 +77,9 b' Non-interactive merge:'
77 * version 2 records
77 * version 2 records
78 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
78 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
79 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
79 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
80 labels:
81 local: working copy
82 other: merge rev
80 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
83 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
81 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
84 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
82 local path: file1 (flags "")
85 local path: file1 (flags "")
@@ -100,11 +103,11 b' Non-interactive merge:'
100 changed
103 changed
101 --- file3 ---
104 --- file3 ---
102 3
105 3
103 <<<<<<< local: 13910f48cf7b - test: changed file1, removed file2, changed file3
106 <<<<<<< working copy: 13910f48cf7b - test: changed file1, removed file2, chan...
104 changed2
107 changed2
105 =======
108 =======
106 changed1
109 changed1
107 >>>>>>> other: 10f9a0a634e8 - test: removed file1, changed file2, changed file3
110 >>>>>>> merge rev: 10f9a0a634e8 - test: removed file1, changed file2, cha...
108
111
109
112
110 Interactive merge:
113 Interactive merge:
@@ -117,9 +120,9 b' Interactive merge:'
117 > c
120 > c
118 > d
121 > d
119 > EOF
122 > EOF
120 local changed file1 which other deleted
123 local [working copy] changed file1 which other [merge rev] deleted
121 use (c)hanged version, (d)elete, or leave (u)nresolved? c
124 use (c)hanged version, (d)elete, or leave (u)nresolved? c
122 other changed file2 which local deleted
125 other [merge rev] changed file2 which local [working copy] deleted
123 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? d
126 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? d
124 merging file3
127 merging file3
125 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
128 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
@@ -140,6 +143,9 b' Interactive merge:'
140 * version 2 records
143 * version 2 records
141 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
144 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
142 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
145 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
146 labels:
147 local: working copy
148 other: merge rev
143 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
149 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
144 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
150 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
145 local path: file1 (flags "")
151 local path: file1 (flags "")
@@ -161,11 +167,11 b' Interactive merge:'
161 *** file2 does not exist
167 *** file2 does not exist
162 --- file3 ---
168 --- file3 ---
163 3
169 3
164 <<<<<<< local: 13910f48cf7b - test: changed file1, removed file2, changed file3
170 <<<<<<< working copy: 13910f48cf7b - test: changed file1, removed file2, chan...
165 changed2
171 changed2
166 =======
172 =======
167 changed1
173 changed1
168 >>>>>>> other: 10f9a0a634e8 - test: removed file1, changed file2, changed file3
174 >>>>>>> merge rev: 10f9a0a634e8 - test: removed file1, changed file2, cha...
169
175
170
176
171 Interactive merge with bad input:
177 Interactive merge with bad input:
@@ -181,18 +187,18 b' Interactive merge with bad input:'
181 > baz
187 > baz
182 > c
188 > c
183 > EOF
189 > EOF
184 local changed file1 which other deleted
190 local [working copy] changed file1 which other [merge rev] deleted
185 use (c)hanged version, (d)elete, or leave (u)nresolved? foo
191 use (c)hanged version, (d)elete, or leave (u)nresolved? foo
186 unrecognized response
192 unrecognized response
187 local changed file1 which other deleted
193 local [working copy] changed file1 which other [merge rev] deleted
188 use (c)hanged version, (d)elete, or leave (u)nresolved? bar
194 use (c)hanged version, (d)elete, or leave (u)nresolved? bar
189 unrecognized response
195 unrecognized response
190 local changed file1 which other deleted
196 local [working copy] changed file1 which other [merge rev] deleted
191 use (c)hanged version, (d)elete, or leave (u)nresolved? d
197 use (c)hanged version, (d)elete, or leave (u)nresolved? d
192 other changed file2 which local deleted
198 other [merge rev] changed file2 which local [working copy] deleted
193 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? baz
199 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? baz
194 unrecognized response
200 unrecognized response
195 other changed file2 which local deleted
201 other [merge rev] changed file2 which local [working copy] deleted
196 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c
202 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c
197 merging file3
203 merging file3
198 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
204 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
@@ -213,6 +219,9 b' Interactive merge with bad input:'
213 * version 2 records
219 * version 2 records
214 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
220 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
215 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
221 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
222 labels:
223 local: working copy
224 other: merge rev
216 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
225 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
217 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
226 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
218 local path: file1 (flags "")
227 local path: file1 (flags "")
@@ -234,11 +243,11 b' Interactive merge with bad input:'
234 changed
243 changed
235 --- file3 ---
244 --- file3 ---
236 3
245 3
237 <<<<<<< local: 13910f48cf7b - test: changed file1, removed file2, changed file3
246 <<<<<<< working copy: 13910f48cf7b - test: changed file1, removed file2, chan...
238 changed2
247 changed2
239 =======
248 =======
240 changed1
249 changed1
241 >>>>>>> other: 10f9a0a634e8 - test: removed file1, changed file2, changed file3
250 >>>>>>> merge rev: 10f9a0a634e8 - test: removed file1, changed file2, cha...
242
251
243
252
244 Interactive merge with not enough input:
253 Interactive merge with not enough input:
@@ -250,9 +259,9 b' Interactive merge with not enough input:'
250 $ hg merge --config ui.interactive=true <<EOF
259 $ hg merge --config ui.interactive=true <<EOF
251 > d
260 > d
252 > EOF
261 > EOF
253 local changed file1 which other deleted
262 local [working copy] changed file1 which other [merge rev] deleted
254 use (c)hanged version, (d)elete, or leave (u)nresolved? d
263 use (c)hanged version, (d)elete, or leave (u)nresolved? d
255 other changed file2 which local deleted
264 other [merge rev] changed file2 which local [working copy] deleted
256 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
265 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
257 merging file3
266 merging file3
258 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
267 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
@@ -273,6 +282,9 b' Interactive merge with not enough input:'
273 * version 2 records
282 * version 2 records
274 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
283 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
275 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
284 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
285 labels:
286 local: working copy
287 other: merge rev
276 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
288 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
277 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
289 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
278 local path: file1 (flags "")
290 local path: file1 (flags "")
@@ -294,11 +306,11 b' Interactive merge with not enough input:'
294 changed
306 changed
295 --- file3 ---
307 --- file3 ---
296 3
308 3
297 <<<<<<< local: 13910f48cf7b - test: changed file1, removed file2, changed file3
309 <<<<<<< working copy: 13910f48cf7b - test: changed file1, removed file2, chan...
298 changed2
310 changed2
299 =======
311 =======
300 changed1
312 changed1
301 >>>>>>> other: 10f9a0a634e8 - test: removed file1, changed file2, changed file3
313 >>>>>>> merge rev: 10f9a0a634e8 - test: removed file1, changed file2, cha...
302
314
303 Choose local versions of files
315 Choose local versions of files
304
316
@@ -322,6 +334,9 b' Choose local versions of files'
322 * version 2 records
334 * version 2 records
323 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
335 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
324 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
336 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
337 labels:
338 local: working copy
339 other: merge rev
325 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
340 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
326 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
341 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
327 local path: file1 (flags "")
342 local path: file1 (flags "")
@@ -367,6 +382,9 b' Choose other versions of files'
367 * version 2 records
382 * version 2 records
368 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
383 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
369 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
384 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
385 labels:
386 local: working copy
387 other: merge rev
370 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
388 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
371 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
389 file: file1 (record type "C", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
372 local path: file1 (flags "")
390 local path: file1 (flags "")
@@ -413,6 +431,9 b' Fail'
413 * version 2 records
431 * version 2 records
414 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
432 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
415 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
433 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
434 labels:
435 local: working copy
436 other: merge rev
416 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
437 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
417 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
438 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
418 local path: file1 (flags "")
439 local path: file1 (flags "")
@@ -445,12 +466,12 b' Force prompts with no input (should be s'
445 1 other heads for branch "default"
466 1 other heads for branch "default"
446
467
447 $ hg merge --config ui.interactive=True --tool :prompt
468 $ hg merge --config ui.interactive=True --tool :prompt
448 local changed file1 which other deleted
469 local [working copy] changed file1 which other [merge rev] deleted
449 use (c)hanged version, (d)elete, or leave (u)nresolved?
470 use (c)hanged version, (d)elete, or leave (u)nresolved?
450 other changed file2 which local deleted
471 other [merge rev] changed file2 which local [working copy] deleted
451 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
472 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
452 no tool found to merge file3
473 no tool found to merge file3
453 keep (l)ocal, take (o)ther, or leave (u)nresolved?
474 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
454 0 files updated, 0 files merged, 0 files removed, 3 files unresolved
475 0 files updated, 0 files merged, 0 files removed, 3 files unresolved
455 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
476 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
456 [1]
477 [1]
@@ -467,6 +488,9 b' Force prompts with no input (should be s'
467 * version 2 records
488 * version 2 records
468 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
489 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
469 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
490 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
491 labels:
492 local: working copy
493 other: merge rev
470 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
494 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
471 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
495 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
472 local path: file1 (flags "")
496 local path: file1 (flags "")
@@ -501,12 +525,12 b' Force prompts'
501 1 other heads for branch "default"
525 1 other heads for branch "default"
502
526
503 $ hg merge --tool :prompt
527 $ hg merge --tool :prompt
504 local changed file1 which other deleted
528 local [working copy] changed file1 which other [merge rev] deleted
505 use (c)hanged version, (d)elete, or leave (u)nresolved? u
529 use (c)hanged version, (d)elete, or leave (u)nresolved? u
506 other changed file2 which local deleted
530 other [merge rev] changed file2 which local [working copy] deleted
507 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
531 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
508 no tool found to merge file3
532 no tool found to merge file3
509 keep (l)ocal, take (o)ther, or leave (u)nresolved? u
533 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved? u
510 0 files updated, 0 files merged, 0 files removed, 3 files unresolved
534 0 files updated, 0 files merged, 0 files removed, 3 files unresolved
511 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
535 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
512 [1]
536 [1]
@@ -523,6 +547,9 b' Force prompts'
523 * version 2 records
547 * version 2 records
524 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
548 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
525 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
549 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
550 labels:
551 local: working copy
552 other: merge rev
526 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
553 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
527 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
554 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
528 local path: file1 (flags "")
555 local path: file1 (flags "")
@@ -555,9 +582,9 b' Choose to merge all files'
555 1 other heads for branch "default"
582 1 other heads for branch "default"
556
583
557 $ hg merge --tool :merge3
584 $ hg merge --tool :merge3
558 local changed file1 which other deleted
585 local [working copy] changed file1 which other [merge rev] deleted
559 use (c)hanged version, (d)elete, or leave (u)nresolved? u
586 use (c)hanged version, (d)elete, or leave (u)nresolved? u
560 other changed file2 which local deleted
587 other [merge rev] changed file2 which local [working copy] deleted
561 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
588 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
562 merging file3
589 merging file3
563 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
590 warning: conflicts while merging file3! (edit, then use 'hg resolve --mark')
@@ -577,6 +604,9 b' Choose to merge all files'
577 * version 2 records
604 * version 2 records
578 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
605 local: 13910f48cf7bdb2a0ba6e24b4900e4fdd5739dd4
579 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
606 other: 10f9a0a634e82080907e62f075ab119cbc565ea6
607 labels:
608 local: working copy
609 other: merge rev
580 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
610 file extras: file1 (ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff)
581 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
611 file: file1 (record type "C", state "u", hash 60b27f004e454aca81b0480209cce5081ec52390)
582 local path: file1 (flags "")
612 local path: file1 (flags "")
@@ -600,12 +630,12 b' Choose to merge all files'
600 changed
630 changed
601 --- file3 ---
631 --- file3 ---
602 3
632 3
603 <<<<<<< local: 13910f48cf7b - test: changed file1, removed file2, changed file3
633 <<<<<<< working copy: 13910f48cf7b - test: changed file1, removed file2, chan...
604 changed2
634 changed2
605 ||||||| base
635 ||||||| base
606 =======
636 =======
607 changed1
637 changed1
608 >>>>>>> other: 10f9a0a634e8 - test: removed file1, changed file2, changed file3
638 >>>>>>> merge rev: 10f9a0a634e8 - test: removed file1, changed file2, cha...
609
639
610 Exercise transitions between local, other, fail and prompt, and make sure the
640 Exercise transitions between local, other, fail and prompt, and make sure the
611 dirstate stays consistent. (Compare with each other and to the above
641 dirstate stays consistent. (Compare with each other and to the above
@@ -642,12 +672,12 b' invocations.)'
642 (status identical)
672 (status identical)
643
673
644 === :other -> :prompt ===
674 === :other -> :prompt ===
645 local changed file1 which other deleted
675 local [working copy] changed file1 which other [merge rev] deleted
646 use (c)hanged version, (d)elete, or leave (u)nresolved?
676 use (c)hanged version, (d)elete, or leave (u)nresolved?
647 other changed file2 which local deleted
677 other [merge rev] changed file2 which local [working copy] deleted
648 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
678 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
649 no tool found to merge file3
679 no tool found to merge file3
650 keep (l)ocal, take (o)ther, or leave (u)nresolved?
680 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
651 --- diff of status ---
681 --- diff of status ---
652 (status identical)
682 (status identical)
653
683
@@ -671,12 +701,12 b' invocations.)'
671 (status identical)
701 (status identical)
672
702
673 === :local -> :prompt ===
703 === :local -> :prompt ===
674 local changed file1 which other deleted
704 local [working copy] changed file1 which other [merge rev] deleted
675 use (c)hanged version, (d)elete, or leave (u)nresolved?
705 use (c)hanged version, (d)elete, or leave (u)nresolved?
676 other changed file2 which local deleted
706 other [merge rev] changed file2 which local [working copy] deleted
677 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
707 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
678 no tool found to merge file3
708 no tool found to merge file3
679 keep (l)ocal, take (o)ther, or leave (u)nresolved?
709 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
680 --- diff of status ---
710 --- diff of status ---
681 (status identical)
711 (status identical)
682
712
@@ -690,12 +720,12 b' invocations.)'
690 (status identical)
720 (status identical)
691
721
692 === :fail -> :prompt ===
722 === :fail -> :prompt ===
693 local changed file1 which other deleted
723 local [working copy] changed file1 which other [merge rev] deleted
694 use (c)hanged version, (d)elete, or leave (u)nresolved?
724 use (c)hanged version, (d)elete, or leave (u)nresolved?
695 other changed file2 which local deleted
725 other [merge rev] changed file2 which local [working copy] deleted
696 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
726 use (c)hanged version, leave (d)eleted, or leave (u)nresolved?
697 no tool found to merge file3
727 no tool found to merge file3
698 keep (l)ocal, take (o)ther, or leave (u)nresolved?
728 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
699 --- diff of status ---
729 --- diff of status ---
700 (status identical)
730 (status identical)
701
731
@@ -142,55 +142,55 b' Merge with remote'
142 # in the same way, so it could potentially be left alone
142 # in the same way, so it could potentially be left alone
143
143
144 $ hg merge -f --tool internal:merge3 'desc("remote")' 2>&1 | tee $TESTTMP/merge-output-1
144 $ hg merge -f --tool internal:merge3 'desc("remote")' 2>&1 | tee $TESTTMP/merge-output-1
145 local changed content1_missing_content1_content4-tracked which other deleted
145 local [working copy] changed content1_missing_content1_content4-tracked which other [merge rev] deleted
146 use (c)hanged version, (d)elete, or leave (u)nresolved? u
146 use (c)hanged version, (d)elete, or leave (u)nresolved? u
147 local changed content1_missing_content3_content3-tracked which other deleted
147 local [working copy] changed content1_missing_content3_content3-tracked which other [merge rev] deleted
148 use (c)hanged version, (d)elete, or leave (u)nresolved? u
148 use (c)hanged version, (d)elete, or leave (u)nresolved? u
149 local changed content1_missing_content3_content4-tracked which other deleted
149 local [working copy] changed content1_missing_content3_content4-tracked which other [merge rev] deleted
150 use (c)hanged version, (d)elete, or leave (u)nresolved? u
150 use (c)hanged version, (d)elete, or leave (u)nresolved? u
151 local changed content1_missing_missing_content4-tracked which other deleted
151 local [working copy] changed content1_missing_missing_content4-tracked which other [merge rev] deleted
152 use (c)hanged version, (d)elete, or leave (u)nresolved? u
152 use (c)hanged version, (d)elete, or leave (u)nresolved? u
153 other changed content1_content2_content1_content1-untracked which local deleted
153 other [merge rev] changed content1_content2_content1_content1-untracked which local [working copy] deleted
154 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
154 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
155 other changed content1_content2_content1_content2-untracked which local deleted
155 other [merge rev] changed content1_content2_content1_content2-untracked which local [working copy] deleted
156 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
156 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
157 other changed content1_content2_content1_content4-untracked which local deleted
157 other [merge rev] changed content1_content2_content1_content4-untracked which local [working copy] deleted
158 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
158 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
159 other changed content1_content2_content1_missing-tracked which local deleted
159 other [merge rev] changed content1_content2_content1_missing-tracked which local [working copy] deleted
160 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
160 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
161 other changed content1_content2_content1_missing-untracked which local deleted
161 other [merge rev] changed content1_content2_content1_missing-untracked which local [working copy] deleted
162 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
162 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
163 other changed content1_content2_content2_content1-untracked which local deleted
163 other [merge rev] changed content1_content2_content2_content1-untracked which local [working copy] deleted
164 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
164 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
165 other changed content1_content2_content2_content2-untracked which local deleted
165 other [merge rev] changed content1_content2_content2_content2-untracked which local [working copy] deleted
166 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
166 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
167 other changed content1_content2_content2_content4-untracked which local deleted
167 other [merge rev] changed content1_content2_content2_content4-untracked which local [working copy] deleted
168 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
168 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
169 other changed content1_content2_content2_missing-tracked which local deleted
169 other [merge rev] changed content1_content2_content2_missing-tracked which local [working copy] deleted
170 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
170 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
171 other changed content1_content2_content2_missing-untracked which local deleted
171 other [merge rev] changed content1_content2_content2_missing-untracked which local [working copy] deleted
172 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
172 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
173 other changed content1_content2_content3_content1-untracked which local deleted
173 other [merge rev] changed content1_content2_content3_content1-untracked which local [working copy] deleted
174 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
174 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
175 other changed content1_content2_content3_content2-untracked which local deleted
175 other [merge rev] changed content1_content2_content3_content2-untracked which local [working copy] deleted
176 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
176 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
177 other changed content1_content2_content3_content3-untracked which local deleted
177 other [merge rev] changed content1_content2_content3_content3-untracked which local [working copy] deleted
178 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
178 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
179 other changed content1_content2_content3_content4-untracked which local deleted
179 other [merge rev] changed content1_content2_content3_content4-untracked which local [working copy] deleted
180 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
180 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
181 other changed content1_content2_content3_missing-tracked which local deleted
181 other [merge rev] changed content1_content2_content3_missing-tracked which local [working copy] deleted
182 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
182 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
183 other changed content1_content2_content3_missing-untracked which local deleted
183 other [merge rev] changed content1_content2_content3_missing-untracked which local [working copy] deleted
184 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
184 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
185 other changed content1_content2_missing_content1-untracked which local deleted
185 other [merge rev] changed content1_content2_missing_content1-untracked which local [working copy] deleted
186 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
186 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
187 other changed content1_content2_missing_content2-untracked which local deleted
187 other [merge rev] changed content1_content2_missing_content2-untracked which local [working copy] deleted
188 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
188 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
189 other changed content1_content2_missing_content4-untracked which local deleted
189 other [merge rev] changed content1_content2_missing_content4-untracked which local [working copy] deleted
190 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
190 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
191 other changed content1_content2_missing_missing-tracked which local deleted
191 other [merge rev] changed content1_content2_missing_missing-tracked which local [working copy] deleted
192 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
192 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
193 other changed content1_content2_missing_missing-untracked which local deleted
193 other [merge rev] changed content1_content2_missing_missing-untracked which local [working copy] deleted
194 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
194 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
195 merging content1_content2_content1_content4-tracked
195 merging content1_content2_content1_content4-tracked
196 merging content1_content2_content2_content1-tracked
196 merging content1_content2_content2_content1-tracked
@@ -373,13 +373,13 b' the remote side did not touch the file'
373 content2
373 content2
374
374
375 M content1_content2_content1_content4-tracked
375 M content1_content2_content1_content4-tracked
376 <<<<<<< local: 0447570f1af6 - test: local
376 <<<<<<< working copy: 0447570f1af6 - test: local
377 content4
377 content4
378 ||||||| base
378 ||||||| base
379 content1
379 content1
380 =======
380 =======
381 content2
381 content2
382 >>>>>>> other: 85100b8c675b - test: remote
382 >>>>>>> merge rev: 85100b8c675b - test: remote
383
383
384 M content1_content2_content1_content4-untracked
384 M content1_content2_content1_content4-untracked
385 content2
385 content2
@@ -403,13 +403,13 b' the remote side did not touch the file'
403 content2
403 content2
404
404
405 M content1_content2_content2_content4-tracked
405 M content1_content2_content2_content4-tracked
406 <<<<<<< local: 0447570f1af6 - test: local
406 <<<<<<< working copy: 0447570f1af6 - test: local
407 content4
407 content4
408 ||||||| base
408 ||||||| base
409 content1
409 content1
410 =======
410 =======
411 content2
411 content2
412 >>>>>>> other: 85100b8c675b - test: remote
412 >>>>>>> merge rev: 85100b8c675b - test: remote
413
413
414 M content1_content2_content2_content4-untracked
414 M content1_content2_content2_content4-untracked
415 content2
415 content2
@@ -433,25 +433,25 b' the remote side did not touch the file'
433 content2
433 content2
434
434
435 M content1_content2_content3_content3-tracked
435 M content1_content2_content3_content3-tracked
436 <<<<<<< local: 0447570f1af6 - test: local
436 <<<<<<< working copy: 0447570f1af6 - test: local
437 content3
437 content3
438 ||||||| base
438 ||||||| base
439 content1
439 content1
440 =======
440 =======
441 content2
441 content2
442 >>>>>>> other: 85100b8c675b - test: remote
442 >>>>>>> merge rev: 85100b8c675b - test: remote
443
443
444 M content1_content2_content3_content3-untracked
444 M content1_content2_content3_content3-untracked
445 content2
445 content2
446
446
447 M content1_content2_content3_content4-tracked
447 M content1_content2_content3_content4-tracked
448 <<<<<<< local: 0447570f1af6 - test: local
448 <<<<<<< working copy: 0447570f1af6 - test: local
449 content4
449 content4
450 ||||||| base
450 ||||||| base
451 content1
451 content1
452 =======
452 =======
453 content2
453 content2
454 >>>>>>> other: 85100b8c675b - test: remote
454 >>>>>>> merge rev: 85100b8c675b - test: remote
455
455
456 M content1_content2_content3_content4-untracked
456 M content1_content2_content3_content4-untracked
457 content2
457 content2
@@ -475,13 +475,13 b' the remote side did not touch the file'
475 content2
475 content2
476
476
477 M content1_content2_missing_content4-tracked
477 M content1_content2_missing_content4-tracked
478 <<<<<<< local: 0447570f1af6 - test: local
478 <<<<<<< working copy: 0447570f1af6 - test: local
479 content4
479 content4
480 ||||||| base
480 ||||||| base
481 content1
481 content1
482 =======
482 =======
483 content2
483 content2
484 >>>>>>> other: 85100b8c675b - test: remote
484 >>>>>>> merge rev: 85100b8c675b - test: remote
485
485
486 M content1_content2_missing_content4-untracked
486 M content1_content2_missing_content4-untracked
487 content2
487 content2
@@ -559,12 +559,12 b' the remote side did not touch the file'
559 content2
559 content2
560
560
561 M missing_content2_content2_content4-tracked
561 M missing_content2_content2_content4-tracked
562 <<<<<<< local: 0447570f1af6 - test: local
562 <<<<<<< working copy: 0447570f1af6 - test: local
563 content4
563 content4
564 ||||||| base
564 ||||||| base
565 =======
565 =======
566 content2
566 content2
567 >>>>>>> other: 85100b8c675b - test: remote
567 >>>>>>> merge rev: 85100b8c675b - test: remote
568
568
569 M missing_content2_content2_content4-untracked
569 M missing_content2_content2_content4-untracked
570 content2
570 content2
@@ -582,23 +582,23 b' the remote side did not touch the file'
582 content2
582 content2
583
583
584 M missing_content2_content3_content3-tracked
584 M missing_content2_content3_content3-tracked
585 <<<<<<< local: 0447570f1af6 - test: local
585 <<<<<<< working copy: 0447570f1af6 - test: local
586 content3
586 content3
587 ||||||| base
587 ||||||| base
588 =======
588 =======
589 content2
589 content2
590 >>>>>>> other: 85100b8c675b - test: remote
590 >>>>>>> merge rev: 85100b8c675b - test: remote
591
591
592 M missing_content2_content3_content3-untracked
592 M missing_content2_content3_content3-untracked
593 content2
593 content2
594
594
595 M missing_content2_content3_content4-tracked
595 M missing_content2_content3_content4-tracked
596 <<<<<<< local: 0447570f1af6 - test: local
596 <<<<<<< working copy: 0447570f1af6 - test: local
597 content4
597 content4
598 ||||||| base
598 ||||||| base
599 =======
599 =======
600 content2
600 content2
601 >>>>>>> other: 85100b8c675b - test: remote
601 >>>>>>> merge rev: 85100b8c675b - test: remote
602
602
603 M missing_content2_content3_content4-untracked
603 M missing_content2_content3_content4-untracked
604 content2
604 content2
@@ -616,20 +616,20 b' the remote side did not touch the file'
616 content2
616 content2
617
617
618 M missing_content2_missing_content4-tracked
618 M missing_content2_missing_content4-tracked
619 <<<<<<< local: 0447570f1af6 - test: local
619 <<<<<<< working copy: 0447570f1af6 - test: local
620 content4
620 content4
621 ||||||| base
621 ||||||| base
622 =======
622 =======
623 content2
623 content2
624 >>>>>>> other: 85100b8c675b - test: remote
624 >>>>>>> merge rev: 85100b8c675b - test: remote
625
625
626 M missing_content2_missing_content4-untracked
626 M missing_content2_missing_content4-untracked
627 <<<<<<< local: 0447570f1af6 - test: local
627 <<<<<<< working copy: 0447570f1af6 - test: local
628 content4
628 content4
629 ||||||| base
629 ||||||| base
630 =======
630 =======
631 content2
631 content2
632 >>>>>>> other: 85100b8c675b - test: remote
632 >>>>>>> merge rev: 85100b8c675b - test: remote
633
633
634 M missing_content2_missing_missing-tracked
634 M missing_content2_missing_missing-tracked
635 content2
635 content2
@@ -703,63 +703,63 b' Re-resolve and check status'
703 (no more unresolved files)
703 (no more unresolved files)
704 $ hg resolve --unmark --all
704 $ hg resolve --unmark --all
705 $ hg resolve --all --tool internal:merge3
705 $ hg resolve --all --tool internal:merge3
706 other changed content1_content2_content1_content1-untracked which local deleted
706 other [merge rev] changed content1_content2_content1_content1-untracked which local [working copy] deleted
707 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
707 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
708 other changed content1_content2_content1_content2-untracked which local deleted
708 other [merge rev] changed content1_content2_content1_content2-untracked which local [working copy] deleted
709 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
709 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
710 merging content1_content2_content1_content4-tracked
710 merging content1_content2_content1_content4-tracked
711 other changed content1_content2_content1_content4-untracked which local deleted
711 other [merge rev] changed content1_content2_content1_content4-untracked which local [working copy] deleted
712 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
712 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
713 other changed content1_content2_content1_missing-tracked which local deleted
713 other [merge rev] changed content1_content2_content1_missing-tracked which local [working copy] deleted
714 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
714 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
715 other changed content1_content2_content1_missing-untracked which local deleted
715 other [merge rev] changed content1_content2_content1_missing-untracked which local [working copy] deleted
716 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
716 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
717 merging content1_content2_content2_content1-tracked
717 merging content1_content2_content2_content1-tracked
718 other changed content1_content2_content2_content1-untracked which local deleted
718 other [merge rev] changed content1_content2_content2_content1-untracked which local [working copy] deleted
719 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
719 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
720 other changed content1_content2_content2_content2-untracked which local deleted
720 other [merge rev] changed content1_content2_content2_content2-untracked which local [working copy] deleted
721 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
721 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
722 merging content1_content2_content2_content4-tracked
722 merging content1_content2_content2_content4-tracked
723 other changed content1_content2_content2_content4-untracked which local deleted
723 other [merge rev] changed content1_content2_content2_content4-untracked which local [working copy] deleted
724 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
724 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
725 other changed content1_content2_content2_missing-tracked which local deleted
725 other [merge rev] changed content1_content2_content2_missing-tracked which local [working copy] deleted
726 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
726 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
727 other changed content1_content2_content2_missing-untracked which local deleted
727 other [merge rev] changed content1_content2_content2_missing-untracked which local [working copy] deleted
728 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
728 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
729 merging content1_content2_content3_content1-tracked
729 merging content1_content2_content3_content1-tracked
730 other changed content1_content2_content3_content1-untracked which local deleted
730 other [merge rev] changed content1_content2_content3_content1-untracked which local [working copy] deleted
731 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
731 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
732 other changed content1_content2_content3_content2-untracked which local deleted
732 other [merge rev] changed content1_content2_content3_content2-untracked which local [working copy] deleted
733 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
733 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
734 merging content1_content2_content3_content3-tracked
734 merging content1_content2_content3_content3-tracked
735 other changed content1_content2_content3_content3-untracked which local deleted
735 other [merge rev] changed content1_content2_content3_content3-untracked which local [working copy] deleted
736 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
736 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
737 merging content1_content2_content3_content4-tracked
737 merging content1_content2_content3_content4-tracked
738 other changed content1_content2_content3_content4-untracked which local deleted
738 other [merge rev] changed content1_content2_content3_content4-untracked which local [working copy] deleted
739 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
739 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
740 other changed content1_content2_content3_missing-tracked which local deleted
740 other [merge rev] changed content1_content2_content3_missing-tracked which local [working copy] deleted
741 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
741 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
742 other changed content1_content2_content3_missing-untracked which local deleted
742 other [merge rev] changed content1_content2_content3_missing-untracked which local [working copy] deleted
743 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
743 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
744 merging content1_content2_missing_content1-tracked
744 merging content1_content2_missing_content1-tracked
745 other changed content1_content2_missing_content1-untracked which local deleted
745 other [merge rev] changed content1_content2_missing_content1-untracked which local [working copy] deleted
746 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
746 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
747 other changed content1_content2_missing_content2-untracked which local deleted
747 other [merge rev] changed content1_content2_missing_content2-untracked which local [working copy] deleted
748 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
748 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
749 merging content1_content2_missing_content4-tracked
749 merging content1_content2_missing_content4-tracked
750 other changed content1_content2_missing_content4-untracked which local deleted
750 other [merge rev] changed content1_content2_missing_content4-untracked which local [working copy] deleted
751 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
751 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
752 other changed content1_content2_missing_missing-tracked which local deleted
752 other [merge rev] changed content1_content2_missing_missing-tracked which local [working copy] deleted
753 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
753 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
754 other changed content1_content2_missing_missing-untracked which local deleted
754 other [merge rev] changed content1_content2_missing_missing-untracked which local [working copy] deleted
755 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
755 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
756 local changed content1_missing_content1_content4-tracked which other deleted
756 local [working copy] changed content1_missing_content1_content4-tracked which other [merge rev] deleted
757 use (c)hanged version, (d)elete, or leave (u)nresolved? u
757 use (c)hanged version, (d)elete, or leave (u)nresolved? u
758 local changed content1_missing_content3_content3-tracked which other deleted
758 local [working copy] changed content1_missing_content3_content3-tracked which other [merge rev] deleted
759 use (c)hanged version, (d)elete, or leave (u)nresolved? u
759 use (c)hanged version, (d)elete, or leave (u)nresolved? u
760 local changed content1_missing_content3_content4-tracked which other deleted
760 local [working copy] changed content1_missing_content3_content4-tracked which other [merge rev] deleted
761 use (c)hanged version, (d)elete, or leave (u)nresolved? u
761 use (c)hanged version, (d)elete, or leave (u)nresolved? u
762 local changed content1_missing_missing_content4-tracked which other deleted
762 local [working copy] changed content1_missing_missing_content4-tracked which other [merge rev] deleted
763 use (c)hanged version, (d)elete, or leave (u)nresolved? u
763 use (c)hanged version, (d)elete, or leave (u)nresolved? u
764 merging missing_content2_content2_content4-tracked
764 merging missing_content2_content2_content4-tracked
765 merging missing_content2_content3_content3-tracked
765 merging missing_content2_content3_content3-tracked
@@ -102,7 +102,7 b' Merge should not overwrite local file th'
102 Those who use force will lose
102 Those who use force will lose
103
103
104 $ hg merge -f
104 $ hg merge -f
105 other changed bar which local deleted
105 other [merge rev] changed bar which local [working copy] deleted
106 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
106 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
107 merging foo1 and foo to foo1
107 merging foo1 and foo to foo1
108 0 files updated, 1 files merged, 0 files removed, 1 files unresolved
108 0 files updated, 1 files merged, 0 files removed, 1 files unresolved
@@ -75,11 +75,11 b' running from a devel copy, not a temp in'
75 [1]
75 [1]
76 $ aftermerge
76 $ aftermerge
77 # cat f
77 # cat f
78 <<<<<<< local: ef83787e2614 - test: revision 1
78 <<<<<<< working copy: ef83787e2614 - test: revision 1
79 revision 1
79 revision 1
80 =======
80 =======
81 revision 2
81 revision 2
82 >>>>>>> other: 0185f4e0cf02 - test: revision 2
82 >>>>>>> merge rev: 0185f4e0cf02 - test: revision 2
83 space
83 space
84 # hg stat
84 # hg stat
85 M f
85 M f
@@ -532,7 +532,7 b' ui.merge specifies internal:prompt:'
532 # hg update -C 1
532 # hg update -C 1
533 $ hg merge -r 2 --config ui.merge=internal:prompt
533 $ hg merge -r 2 --config ui.merge=internal:prompt
534 no tool found to merge f
534 no tool found to merge f
535 keep (l)ocal, take (o)ther, or leave (u)nresolved? u
535 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved? u
536 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
536 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
537 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
537 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
538 [1]
538 [1]
@@ -557,7 +557,7 b" ui.merge specifies :prompt, with 'leave "
557 > u
557 > u
558 > EOF
558 > EOF
559 no tool found to merge f
559 no tool found to merge f
560 keep (l)ocal, take (o)ther, or leave (u)nresolved? u
560 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved? u
561 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
561 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
562 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
562 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
563 [1]
563 [1]
@@ -580,7 +580,7 b' prompt with EOF'
580 # hg update -C 1
580 # hg update -C 1
581 $ hg merge -r 2 --config ui.merge=internal:prompt --config ui.interactive=true
581 $ hg merge -r 2 --config ui.merge=internal:prompt --config ui.interactive=true
582 no tool found to merge f
582 no tool found to merge f
583 keep (l)ocal, take (o)ther, or leave (u)nresolved?
583 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
584 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
584 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
585 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
585 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
586 [1]
586 [1]
@@ -594,7 +594,7 b' prompt with EOF'
594 U f
594 U f
595 $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true
595 $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true
596 no tool found to merge f
596 no tool found to merge f
597 keep (l)ocal, take (o)ther, or leave (u)nresolved?
597 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
598 [1]
598 [1]
599 $ aftermerge
599 $ aftermerge
600 # cat f
600 # cat f
@@ -608,7 +608,7 b' prompt with EOF'
608 $ rm f
608 $ rm f
609 $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true
609 $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true
610 no tool found to merge f
610 no tool found to merge f
611 keep (l)ocal, take (o)ther, or leave (u)nresolved?
611 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved?
612 [1]
612 [1]
613 $ aftermerge
613 $ aftermerge
614 # cat f
614 # cat f
@@ -620,7 +620,7 b' prompt with EOF'
620 U f
620 U f
621 $ hg resolve --all --config ui.merge=internal:prompt
621 $ hg resolve --all --config ui.merge=internal:prompt
622 no tool found to merge f
622 no tool found to merge f
623 keep (l)ocal, take (o)ther, or leave (u)nresolved? u
623 keep (l)ocal [working copy], take (o)ther [merge rev], or leave (u)nresolved? u
624 [1]
624 [1]
625 $ aftermerge
625 $ aftermerge
626 # cat f
626 # cat f
@@ -935,12 +935,12 b' premerge=keep keeps conflict markers in:'
935 # hg update -C 1
935 # hg update -C 1
936 $ hg merge -r 4 --config merge-tools.true.premerge=keep
936 $ hg merge -r 4 --config merge-tools.true.premerge=keep
937 merging f
937 merging f
938 <<<<<<< local: ef83787e2614 - test: revision 1
938 <<<<<<< working copy: ef83787e2614 - test: revision 1
939 revision 1
939 revision 1
940 space
940 space
941 =======
941 =======
942 revision 4
942 revision 4
943 >>>>>>> other: 81448d39c9a0 - test: revision 4
943 >>>>>>> merge rev: 81448d39c9a0 - test: revision 4
944 revision 0
944 revision 0
945 space
945 space
946 revision 4
946 revision 4
@@ -948,12 +948,12 b' premerge=keep keeps conflict markers in:'
948 (branch merge, don't forget to commit)
948 (branch merge, don't forget to commit)
949 $ aftermerge
949 $ aftermerge
950 # cat f
950 # cat f
951 <<<<<<< local: ef83787e2614 - test: revision 1
951 <<<<<<< working copy: ef83787e2614 - test: revision 1
952 revision 1
952 revision 1
953 space
953 space
954 =======
954 =======
955 revision 4
955 revision 4
956 >>>>>>> other: 81448d39c9a0 - test: revision 4
956 >>>>>>> merge rev: 81448d39c9a0 - test: revision 4
957 # hg stat
957 # hg stat
958 M f
958 M f
959 # hg resolve --list
959 # hg resolve --list
@@ -969,7 +969,7 b' premerge=keep-merge3 keeps conflict mark'
969 # hg update -C 1
969 # hg update -C 1
970 $ hg merge -r 4 --config merge-tools.true.premerge=keep-merge3
970 $ hg merge -r 4 --config merge-tools.true.premerge=keep-merge3
971 merging f
971 merging f
972 <<<<<<< local: ef83787e2614 - test: revision 1
972 <<<<<<< working copy: ef83787e2614 - test: revision 1
973 revision 1
973 revision 1
974 space
974 space
975 ||||||| base
975 ||||||| base
@@ -977,7 +977,7 b' premerge=keep-merge3 keeps conflict mark'
977 space
977 space
978 =======
978 =======
979 revision 4
979 revision 4
980 >>>>>>> other: 81448d39c9a0 - test: revision 4
980 >>>>>>> merge rev: 81448d39c9a0 - test: revision 4
981 revision 0
981 revision 0
982 space
982 space
983 revision 4
983 revision 4
@@ -985,7 +985,7 b' premerge=keep-merge3 keeps conflict mark'
985 (branch merge, don't forget to commit)
985 (branch merge, don't forget to commit)
986 $ aftermerge
986 $ aftermerge
987 # cat f
987 # cat f
988 <<<<<<< local: ef83787e2614 - test: revision 1
988 <<<<<<< working copy: ef83787e2614 - test: revision 1
989 revision 1
989 revision 1
990 space
990 space
991 ||||||| base
991 ||||||| base
@@ -993,7 +993,7 b' premerge=keep-merge3 keeps conflict mark'
993 space
993 space
994 =======
994 =======
995 revision 4
995 revision 4
996 >>>>>>> other: 81448d39c9a0 - test: revision 4
996 >>>>>>> merge rev: 81448d39c9a0 - test: revision 4
997 # hg stat
997 # hg stat
998 M f
998 M f
999 # hg resolve --list
999 # hg resolve --list
@@ -356,18 +356,18 b' h: l vs l, different'
356 U h
356 U h
357 $ tellmeabout a
357 $ tellmeabout a
358 a is a plain file with content:
358 a is a plain file with content:
359 <<<<<<< local: 0139c5610547 - test: 2
359 <<<<<<< working copy: 0139c5610547 - test: 2
360 2
360 2
361 =======
361 =======
362 1
362 1
363 >>>>>>> other: 97e29675e796 - test: 1
363 >>>>>>> merge rev: 97e29675e796 - test: 1
364 $ tellmeabout b
364 $ tellmeabout b
365 b is a plain file with content:
365 b is a plain file with content:
366 <<<<<<< local: 0139c5610547 - test: 2
366 <<<<<<< working copy: 0139c5610547 - test: 2
367 2
367 2
368 =======
368 =======
369 1
369 1
370 >>>>>>> other: 97e29675e796 - test: 1
370 >>>>>>> merge rev: 97e29675e796 - test: 1
371 $ tellmeabout c
371 $ tellmeabout c
372 c is a plain file with content:
372 c is a plain file with content:
373 x
373 x
@@ -409,18 +409,18 b' h: l vs l, different'
409 [1]
409 [1]
410 $ tellmeabout a
410 $ tellmeabout a
411 a is a plain file with content:
411 a is a plain file with content:
412 <<<<<<< local: 97e29675e796 - test: 1
412 <<<<<<< working copy: 97e29675e796 - test: 1
413 1
413 1
414 =======
414 =======
415 2
415 2
416 >>>>>>> other: 0139c5610547 - test: 2
416 >>>>>>> merge rev: 0139c5610547 - test: 2
417 $ tellmeabout b
417 $ tellmeabout b
418 b is an executable file with content:
418 b is an executable file with content:
419 <<<<<<< local: 97e29675e796 - test: 1
419 <<<<<<< working copy: 97e29675e796 - test: 1
420 1
420 1
421 =======
421 =======
422 2
422 2
423 >>>>>>> other: 0139c5610547 - test: 2
423 >>>>>>> merge rev: 0139c5610547 - test: 2
424 $ tellmeabout c
424 $ tellmeabout c
425 c is an executable file with content:
425 c is an executable file with content:
426 x
426 x
@@ -99,11 +99,11 b' pull and merge from test-a again'
99
99
100 $ cat test.txt
100 $ cat test.txt
101 one
101 one
102 <<<<<<< local: 50c3a7e29886 - test: Merge 1
102 <<<<<<< working copy: 50c3a7e29886 - test: Merge 1
103 two-point-five
103 two-point-five
104 =======
104 =======
105 two-point-one
105 two-point-one
106 >>>>>>> other: 40d11a4173a8 - test: two -> two-point-one
106 >>>>>>> merge rev: 40d11a4173a8 - test: two -> two-point-one
107 three
107 three
108
108
109 $ hg debugindex test.txt
109 $ hg debugindex test.txt
@@ -144,11 +144,11 b' and committed in local target directory.'
144 C b/a
144 C b/a
145 C b/b
145 C b/b
146 $ cat b/c
146 $ cat b/c
147 <<<<<<< local: f1c50ca4f127 - test: new file in target directory
147 <<<<<<< working copy: f1c50ca4f127 - test: new file in target directory
148 target
148 target
149 =======
149 =======
150 baz
150 baz
151 >>>>>>> other: ce36d17b18fb - test: 2 add a/c
151 >>>>>>> merge rev: ce36d17b18fb - test: 2 add a/c
152 $ rm b/c.orig
152 $ rm b/c.orig
153
153
154 Remote directory rename with conflicting file added in remote target directory
154 Remote directory rename with conflicting file added in remote target directory
@@ -177,11 +177,11 b' and committed in local source directory.'
177 ? a/d
177 ? a/d
178 ? b/c.orig
178 ? b/c.orig
179 $ cat b/c
179 $ cat b/c
180 <<<<<<< local: ce36d17b18fb - test: 2 add a/c
180 <<<<<<< working copy: ce36d17b18fb - test: 2 add a/c
181 baz
181 baz
182 =======
182 =======
183 target
183 target
184 >>>>>>> other: f1c50ca4f127 - test: new file in target directory
184 >>>>>>> merge rev: f1c50ca4f127 - test: new file in target directory
185
185
186 Second scenario with two repos:
186 Second scenario with two repos:
187
187
@@ -694,7 +694,7 b' m "um a c" "um x c" " " "10 do merg'
694 starting 4 threads for background file closing (?)
694 starting 4 threads for background file closing (?)
695 a: prompt deleted/changed -> m (premerge)
695 a: prompt deleted/changed -> m (premerge)
696 picked tool ':prompt' for a (binary False symlink False changedelete True)
696 picked tool ':prompt' for a (binary False symlink False changedelete True)
697 other changed a which local deleted
697 other [merge rev] changed a which local [working copy] deleted
698 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
698 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
699 b: both created -> m (premerge)
699 b: both created -> m (premerge)
700 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
700 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
@@ -739,7 +739,7 b' m "um a c" "um x c" " " "10 do merg'
739 starting 4 threads for background file closing (?)
739 starting 4 threads for background file closing (?)
740 a: prompt changed/deleted -> m (premerge)
740 a: prompt changed/deleted -> m (premerge)
741 picked tool ':prompt' for a (binary False symlink False changedelete True)
741 picked tool ':prompt' for a (binary False symlink False changedelete True)
742 local changed a which other deleted
742 local [working copy] changed a which other [merge rev] deleted
743 use (c)hanged version, (d)elete, or leave (u)nresolved? u
743 use (c)hanged version, (d)elete, or leave (u)nresolved? u
744 b: both created -> m (premerge)
744 b: both created -> m (premerge)
745 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
745 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
@@ -290,6 +290,9 b' insert unsupported advisory merge record'
290 * version 2 records
290 * version 2 records
291 local: 57653b9f834a4493f7240b0681efcb9ae7cab745
291 local: 57653b9f834a4493f7240b0681efcb9ae7cab745
292 other: dc77451844e37f03f5c559e3b8529b2b48d381d1
292 other: dc77451844e37f03f5c559e3b8529b2b48d381d1
293 labels:
294 local: working copy
295 other: merge rev
293 unrecognized entry: x advisory record
296 unrecognized entry: x advisory record
294 file extras: file1 (ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac)
297 file extras: file1 (ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac)
295 file: file1 (record type "F", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
298 file: file1 (record type "F", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
@@ -312,6 +315,9 b' insert unsupported mandatory merge recor'
312 * version 2 records
315 * version 2 records
313 local: 57653b9f834a4493f7240b0681efcb9ae7cab745
316 local: 57653b9f834a4493f7240b0681efcb9ae7cab745
314 other: dc77451844e37f03f5c559e3b8529b2b48d381d1
317 other: dc77451844e37f03f5c559e3b8529b2b48d381d1
318 labels:
319 local: working copy
320 other: merge rev
315 file extras: file1 (ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac)
321 file extras: file1 (ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac)
316 file: file1 (record type "F", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
322 file: file1 (record type "F", state "r", hash 60b27f004e454aca81b0480209cce5081ec52390)
317 local path: file1 (flags "")
323 local path: file1 (flags "")
@@ -171,7 +171,7 b' user a pulls, merges, commits'
171 (run 'hg heads' to see heads, 'hg merge' to merge)
171 (run 'hg heads' to see heads, 'hg merge' to merge)
172 $ hg merge 2>/dev/null
172 $ hg merge 2>/dev/null
173 subrepository s diverged (local revision: 7969594, remote revision: aa84837)
173 subrepository s diverged (local revision: 7969594, remote revision: aa84837)
174 (M)erge, keep (l)ocal or keep (r)emote? m
174 (M)erge, keep (l)ocal [working copy] or keep (r)emote [merge rev]? m
175 pulling subrepo s from $TESTTMP/gitroot
175 pulling subrepo s from $TESTTMP/gitroot
176 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
176 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
177 (branch merge, don't forget to commit)
177 (branch merge, don't forget to commit)
@@ -304,7 +304,7 b' merge tests'
304 subrepo t: both sides changed
304 subrepo t: both sides changed
305 subrepository t diverged (local revision: 20a0db6fbf6c, remote revision: 7af322bc1198)
305 subrepository t diverged (local revision: 20a0db6fbf6c, remote revision: 7af322bc1198)
306 starting 4 threads for background file closing (?)
306 starting 4 threads for background file closing (?)
307 (M)erge, keep (l)ocal or keep (r)emote? m
307 (M)erge, keep (l)ocal [working copy] or keep (r)emote [merge rev]? m
308 merging subrepo t
308 merging subrepo t
309 searching for copies back to rev 2
309 searching for copies back to rev 2
310 resolving manifests
310 resolving manifests
@@ -349,7 +349,7 b' 11: remove subrepo t'
349 local removed, remote changed, keep changed
349 local removed, remote changed, keep changed
350
350
351 $ hg merge 6
351 $ hg merge 6
352 remote changed subrepository s which local removed
352 remote [merge rev] changed subrepository s which local [working copy] removed
353 use (c)hanged version or (d)elete? c
353 use (c)hanged version or (d)elete? c
354 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
354 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
355 (branch merge, don't forget to commit)
355 (branch merge, don't forget to commit)
@@ -380,7 +380,7 b' local removed, remote changed, keep remo'
380 $ hg merge --config ui.interactive=true 6 <<EOF
380 $ hg merge --config ui.interactive=true 6 <<EOF
381 > d
381 > d
382 > EOF
382 > EOF
383 remote changed subrepository s which local removed
383 remote [merge rev] changed subrepository s which local [working copy] removed
384 use (c)hanged version or (d)elete? d
384 use (c)hanged version or (d)elete? d
385 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
385 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
386 (branch merge, don't forget to commit)
386 (branch merge, don't forget to commit)
@@ -404,7 +404,7 b' local changed, remote removed, keep chan'
404 $ hg co -C 6
404 $ hg co -C 6
405 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
405 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
406 $ hg merge 11
406 $ hg merge 11
407 local changed subrepository s which remote removed
407 local [working copy] changed subrepository s which remote [merge rev] removed
408 use (c)hanged version or (d)elete? c
408 use (c)hanged version or (d)elete? c
409 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
409 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
410 (branch merge, don't forget to commit)
410 (branch merge, don't forget to commit)
@@ -436,7 +436,7 b' local changed, remote removed, keep remo'
436 $ hg merge --config ui.interactive=true 11 <<EOF
436 $ hg merge --config ui.interactive=true 11 <<EOF
437 > d
437 > d
438 > EOF
438 > EOF
439 local changed subrepository s which remote removed
439 local [working copy] changed subrepository s which remote [merge rev] removed
440 use (c)hanged version or (d)elete? d
440 use (c)hanged version or (d)elete? d
441 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
441 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
442 (branch merge, don't forget to commit)
442 (branch merge, don't forget to commit)
@@ -860,7 +860,7 b" shouldn't need merging"
860 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
860 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
861 $ hg merge 4 # try to merge default into br again
861 $ hg merge 4 # try to merge default into br again
862 subrepository s diverged (local revision: f8f13b33206e, remote revision: a3f9062a4f88)
862 subrepository s diverged (local revision: f8f13b33206e, remote revision: a3f9062a4f88)
863 (M)erge, keep (l)ocal or keep (r)emote? m
863 (M)erge, keep (l)ocal [working copy] or keep (r)emote [merge rev]? m
864 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
864 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
865 (branch merge, don't forget to commit)
865 (branch merge, don't forget to commit)
866 $ cd ..
866 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now