Show More
@@ -298,7 +298,7 def _formatconflictmarker(repo, ctx, tem | |||||
298 | '{ifeq(tags, "tip", "", "{tags} ")}' + |
|
298 | '{ifeq(tags, "tip", "", "{tags} ")}' + | |
299 | '{if(bookmarks, "{bookmarks} ")}' + |
|
299 | '{if(bookmarks, "{bookmarks} ")}' + | |
300 | '{ifeq(branch, "default", "", "{branch} ")}' + |
|
300 | '{ifeq(branch, "default", "", "{branch} ")}' + | |
301 |
'- {author|user}: |
|
301 | '- {author|user}: {desc|firstline}') | |
302 |
|
302 | |||
303 | _defaultconflictlabels = ['local', 'other'] |
|
303 | _defaultconflictlabels = ['local', 'other'] | |
304 |
|
304 |
@@ -589,7 +589,7 Amend a merge changeset (with renames an | |||||
589 | no more unresolved files |
|
589 | no more unresolved files | |
590 | $ hg ci -m 'merge bar' |
|
590 | $ hg ci -m 'merge bar' | |
591 | $ hg log --config diff.git=1 -pr . |
|
591 | $ hg log --config diff.git=1 -pr . | |
592 |
changeset: 23: |
|
592 | changeset: 23:93cd4445f720 | |
593 | tag: tip |
|
593 | tag: tip | |
594 | parent: 22:30d96aeaf27b |
|
594 | parent: 22:30d96aeaf27b | |
595 | parent: 21:1aa437659d19 |
|
595 | parent: 21:1aa437659d19 | |
@@ -604,11 +604,11 Amend a merge changeset (with renames an | |||||
604 | --- a/cc |
|
604 | --- a/cc | |
605 | +++ b/cc |
|
605 | +++ b/cc | |
606 | @@ -1,1 +1,5 @@ |
|
606 | @@ -1,1 +1,5 @@ | |
607 |
+<<<<<<< local: 30d96aeaf27b - test: |
|
607 | +<<<<<<< local: 30d96aeaf27b - test: aa | |
608 | dd |
|
608 | dd | |
609 | +======= |
|
609 | +======= | |
610 | +cc |
|
610 | +cc | |
611 |
+>>>>>>> other: 1aa437659d19 bar - test: |
|
611 | +>>>>>>> other: 1aa437659d19 bar - test: aazzcc | |
612 | diff --git a/z b/zz |
|
612 | diff --git a/z b/zz | |
613 | rename from z |
|
613 | rename from z | |
614 | rename to zz |
|
614 | rename to zz | |
@@ -621,7 +621,7 Amend a merge changeset (with renames an | |||||
621 | cc not renamed |
|
621 | cc not renamed | |
622 | $ hg ci --amend -m 'merge bar (amend message)' |
|
622 | $ hg ci --amend -m 'merge bar (amend message)' | |
623 | $ hg log --config diff.git=1 -pr . |
|
623 | $ hg log --config diff.git=1 -pr . | |
624 |
changeset: 24: |
|
624 | changeset: 24:832b50f2c271 | |
625 | tag: tip |
|
625 | tag: tip | |
626 | parent: 22:30d96aeaf27b |
|
626 | parent: 22:30d96aeaf27b | |
627 | parent: 21:1aa437659d19 |
|
627 | parent: 21:1aa437659d19 | |
@@ -636,11 +636,11 Amend a merge changeset (with renames an | |||||
636 | --- a/cc |
|
636 | --- a/cc | |
637 | +++ b/cc |
|
637 | +++ b/cc | |
638 | @@ -1,1 +1,5 @@ |
|
638 | @@ -1,1 +1,5 @@ | |
639 |
+<<<<<<< local: 30d96aeaf27b - test: |
|
639 | +<<<<<<< local: 30d96aeaf27b - test: aa | |
640 | dd |
|
640 | dd | |
641 | +======= |
|
641 | +======= | |
642 | +cc |
|
642 | +cc | |
643 |
+>>>>>>> other: 1aa437659d19 bar - test: |
|
643 | +>>>>>>> other: 1aa437659d19 bar - test: aazzcc | |
644 | diff --git a/z b/zz |
|
644 | diff --git a/z b/zz | |
645 | rename from z |
|
645 | rename from z | |
646 | rename to zz |
|
646 | rename to zz | |
@@ -654,7 +654,7 Amend a merge changeset (with renames an | |||||
654 | $ hg mv zz z |
|
654 | $ hg mv zz z | |
655 | $ hg ci --amend -m 'merge bar (undo rename)' |
|
655 | $ hg ci --amend -m 'merge bar (undo rename)' | |
656 | $ hg log --config diff.git=1 -pr . |
|
656 | $ hg log --config diff.git=1 -pr . | |
657 |
changeset: 26: |
|
657 | changeset: 26:bdafc5c72f74 | |
658 | tag: tip |
|
658 | tag: tip | |
659 | parent: 22:30d96aeaf27b |
|
659 | parent: 22:30d96aeaf27b | |
660 | parent: 21:1aa437659d19 |
|
660 | parent: 21:1aa437659d19 | |
@@ -669,11 +669,11 Amend a merge changeset (with renames an | |||||
669 | --- a/cc |
|
669 | --- a/cc | |
670 | +++ b/cc |
|
670 | +++ b/cc | |
671 | @@ -1,1 +1,5 @@ |
|
671 | @@ -1,1 +1,5 @@ | |
672 |
+<<<<<<< local: 30d96aeaf27b - test: |
|
672 | +<<<<<<< local: 30d96aeaf27b - test: aa | |
673 | dd |
|
673 | dd | |
674 | +======= |
|
674 | +======= | |
675 | +cc |
|
675 | +cc | |
676 |
+>>>>>>> other: 1aa437659d19 bar - test: |
|
676 | +>>>>>>> other: 1aa437659d19 bar - test: aazzcc | |
677 |
|
677 | |||
678 | $ hg debugrename z |
|
678 | $ hg debugrename z | |
679 | z not renamed |
|
679 | z not renamed | |
@@ -690,9 +690,9 Amend a merge changeset (with renames du | |||||
690 | $ echo aa >> aaa |
|
690 | $ echo aa >> aaa | |
691 | $ hg ci -m 'merge bar again' |
|
691 | $ hg ci -m 'merge bar again' | |
692 | $ hg log --config diff.git=1 -pr . |
|
692 | $ hg log --config diff.git=1 -pr . | |
693 |
changeset: 28: |
|
693 | changeset: 28:32f19415b634 | |
694 | tag: tip |
|
694 | tag: tip | |
695 |
parent: 26: |
|
695 | parent: 26:bdafc5c72f74 | |
696 | parent: 27:4c94d5bc65f5 |
|
696 | parent: 27:4c94d5bc65f5 | |
697 | user: test |
|
697 | user: test | |
698 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
698 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -725,9 +725,9 Amend a merge changeset (with renames du | |||||
725 | $ hg mv aaa aa |
|
725 | $ hg mv aaa aa | |
726 | $ hg ci --amend -m 'merge bar again (undo rename)' |
|
726 | $ hg ci --amend -m 'merge bar again (undo rename)' | |
727 | $ hg log --config diff.git=1 -pr . |
|
727 | $ hg log --config diff.git=1 -pr . | |
728 |
changeset: 30: |
|
728 | changeset: 30:1e2a06b3d312 | |
729 | tag: tip |
|
729 | tag: tip | |
730 |
parent: 26: |
|
730 | parent: 26:bdafc5c72f74 | |
731 | parent: 27:4c94d5bc65f5 |
|
731 | parent: 27:4c94d5bc65f5 | |
732 | user: test |
|
732 | user: test | |
733 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
733 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -765,9 +765,9 Amend a merge changeset (with manifest-l | |||||
765 | use (c)hanged version or (d)elete? c |
|
765 | use (c)hanged version or (d)elete? c | |
766 | $ hg ci -m 'merge bar (with conflicts)' |
|
766 | $ hg ci -m 'merge bar (with conflicts)' | |
767 | $ hg log --config diff.git=1 -pr . |
|
767 | $ hg log --config diff.git=1 -pr . | |
768 |
changeset: 33: |
|
768 | changeset: 33:97a298b0c59f | |
769 | tag: tip |
|
769 | tag: tip | |
770 |
parent: 32: |
|
770 | parent: 32:3d78ce4226b8 | |
771 | parent: 31:67db8847a540 |
|
771 | parent: 31:67db8847a540 | |
772 | user: test |
|
772 | user: test | |
773 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
773 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -777,9 +777,9 Amend a merge changeset (with manifest-l | |||||
777 | $ hg rm aa |
|
777 | $ hg rm aa | |
778 | $ hg ci --amend -m 'merge bar (with conflicts, amended)' |
|
778 | $ hg ci --amend -m 'merge bar (with conflicts, amended)' | |
779 | $ hg log --config diff.git=1 -pr . |
|
779 | $ hg log --config diff.git=1 -pr . | |
780 |
changeset: 35: |
|
780 | changeset: 35:6de0c1bde1c8 | |
781 | tag: tip |
|
781 | tag: tip | |
782 |
parent: 32: |
|
782 | parent: 32:3d78ce4226b8 | |
783 | parent: 31:67db8847a540 |
|
783 | parent: 31:67db8847a540 | |
784 | user: test |
|
784 | user: test | |
785 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
785 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -22,11 +22,11 | |||||
22 | 32e80765d7fe+75234512624c+ tip |
|
22 | 32e80765d7fe+75234512624c+ tip | |
23 |
|
23 | |||
24 | $ cat a |
|
24 | $ cat a | |
25 |
<<<<<<< local: 32e80765d7fe - test: |
|
25 | <<<<<<< local: 32e80765d7fe - test: branch2 | |
26 | something else |
|
26 | something else | |
27 | ======= |
|
27 | ======= | |
28 | something |
|
28 | something | |
29 |
>>>>>>> other: 75234512624c - test: |
|
29 | >>>>>>> other: 75234512624c - test: branch1 | |
30 |
|
30 | |||
31 |
$ |
|
31 | $ hg status | |
32 | M a |
|
32 | M a |
@@ -1049,11 +1049,11 conflict: keyword should stay outside co | |||||
1049 | [1] |
|
1049 | [1] | |
1050 | $ cat m |
|
1050 | $ cat m | |
1051 | $Id$ |
|
1051 | $Id$ | |
1052 |
<<<<<<< local: 88a80c8d172e - test: |
|
1052 | <<<<<<< local: 88a80c8d172e - test: 8bar | |
1053 | bar |
|
1053 | bar | |
1054 | ======= |
|
1054 | ======= | |
1055 | foo |
|
1055 | foo | |
1056 |
>>>>>>> other: 85d2d2d732a5 - test: |
|
1056 | >>>>>>> other: 85d2d2d732a5 - test: simplemerge | |
1057 |
|
1057 | |||
1058 | resolve to local |
|
1058 | resolve to local | |
1059 |
|
1059 |
@@ -57,11 +57,11 | |||||
57 | @@ -1,3 +1,7 @@ |
|
57 | @@ -1,3 +1,7 @@ | |
58 | added file1 |
|
58 | added file1 | |
59 | another line of text |
|
59 | another line of text | |
60 |
+<<<<<<< working copy: c3fa057dd86f - test: |
|
60 | +<<<<<<< working copy: c3fa057dd86f - test: added file1 and file2 | |
61 | +changed file1 different |
|
61 | +changed file1 different | |
62 | +======= |
|
62 | +======= | |
63 | changed file1 |
|
63 | changed file1 | |
64 |
+>>>>>>> destination: dfab7f3c2efb - test: |
|
64 | +>>>>>>> destination: dfab7f3c2efb - test: changed file1 | |
65 |
|
65 | |||
66 |
$ |
|
66 | $ hg status | |
67 | M file1 |
|
67 | M file1 |
@@ -66,11 +66,11 running from a devel copy, not a temp in | |||||
66 | [1] |
|
66 | [1] | |
67 | $ aftermerge |
|
67 | $ aftermerge | |
68 | # cat f |
|
68 | # cat f | |
69 |
<<<<<<< local: ef83787e2614 - test: |
|
69 | <<<<<<< local: ef83787e2614 - test: revision 1 | |
70 | revision 1 |
|
70 | revision 1 | |
71 | ======= |
|
71 | ======= | |
72 | revision 2 |
|
72 | revision 2 | |
73 |
>>>>>>> other: 0185f4e0cf02 - test: |
|
73 | >>>>>>> other: 0185f4e0cf02 - test: revision 2 | |
74 | space |
|
74 | space | |
75 | # hg stat |
|
75 | # hg stat | |
76 | M f |
|
76 | M f |
@@ -290,18 +290,18 h: l vs l, different | |||||
290 | U h |
|
290 | U h | |
291 | $ tellmeabout a |
|
291 | $ tellmeabout a | |
292 | a is a plain file with content: |
|
292 | a is a plain file with content: | |
293 |
<<<<<<< local: 0139c5610547 - test: |
|
293 | <<<<<<< local: 0139c5610547 - test: 2 | |
294 | 2 |
|
294 | 2 | |
295 | ======= |
|
295 | ======= | |
296 | 1 |
|
296 | 1 | |
297 |
>>>>>>> other: 97e29675e796 - test: |
|
297 | >>>>>>> other: 97e29675e796 - test: 1 | |
298 | $ tellmeabout b |
|
298 | $ tellmeabout b | |
299 | b is a plain file with content: |
|
299 | b is a plain file with content: | |
300 |
<<<<<<< local: 0139c5610547 - test: |
|
300 | <<<<<<< local: 0139c5610547 - test: 2 | |
301 | 2 |
|
301 | 2 | |
302 | ======= |
|
302 | ======= | |
303 | 1 |
|
303 | 1 | |
304 |
>>>>>>> other: 97e29675e796 - test: |
|
304 | >>>>>>> other: 97e29675e796 - test: 1 | |
305 | $ tellmeabout c |
|
305 | $ tellmeabout c | |
306 | c is a plain file with content: |
|
306 | c is a plain file with content: | |
307 | x |
|
307 | x | |
@@ -345,18 +345,18 h: l vs l, different | |||||
345 | [1] |
|
345 | [1] | |
346 | $ tellmeabout a |
|
346 | $ tellmeabout a | |
347 | a is a plain file with content: |
|
347 | a is a plain file with content: | |
348 |
<<<<<<< local: 97e29675e796 - test: |
|
348 | <<<<<<< local: 97e29675e796 - test: 1 | |
349 | 1 |
|
349 | 1 | |
350 | ======= |
|
350 | ======= | |
351 | 2 |
|
351 | 2 | |
352 |
>>>>>>> other: 0139c5610547 - test: |
|
352 | >>>>>>> other: 0139c5610547 - test: 2 | |
353 | $ tellmeabout b |
|
353 | $ tellmeabout b | |
354 | b is an executable file with content: |
|
354 | b is an executable file with content: | |
355 |
<<<<<<< local: 97e29675e796 - test: |
|
355 | <<<<<<< local: 97e29675e796 - test: 1 | |
356 | 1 |
|
356 | 1 | |
357 | ======= |
|
357 | ======= | |
358 | 2 |
|
358 | 2 | |
359 |
>>>>>>> other: 0139c5610547 - test: |
|
359 | >>>>>>> other: 0139c5610547 - test: 2 | |
360 | $ tellmeabout c |
|
360 | $ tellmeabout c | |
361 | c is an executable file with content: |
|
361 | c is an executable file with content: | |
362 | x |
|
362 | x |
@@ -98,11 +98,11 pull and merge from test-a again | |||||
98 |
|
98 | |||
99 | $ cat test.txt |
|
99 | $ cat test.txt | |
100 | one |
|
100 | one | |
101 |
<<<<<<< local: 50c3a7e29886 - test: |
|
101 | <<<<<<< local: 50c3a7e29886 - test: Merge 1 | |
102 | two-point-five |
|
102 | two-point-five | |
103 | ======= |
|
103 | ======= | |
104 | two-point-one |
|
104 | two-point-one | |
105 |
>>>>>>> other: 40d11a4173a8 - test: |
|
105 | >>>>>>> other: 40d11a4173a8 - test: two -> two-point-one | |
106 | three |
|
106 | three | |
107 |
|
107 | |||
108 | $ hg debugindex test.txt |
|
108 | $ hg debugindex test.txt |
@@ -210,11 +210,11 ensure that we have a merge with unresol | |||||
210 | +++ b/a/a |
|
210 | +++ b/a/a | |
211 | @@ -1,2 +1,6 @@ |
|
211 | @@ -1,2 +1,6 @@ | |
212 | a |
|
212 | a | |
213 |
+<<<<<<< dest: * - shelve: |
|
213 | +<<<<<<< dest: * - shelve: pending changes temporary commit (glob) | |
214 | c |
|
214 | c | |
215 | +======= |
|
215 | +======= | |
216 | +a |
|
216 | +a | |
217 |
+>>>>>>> source: |
|
217 | +>>>>>>> source: 4702e8911fe0 - shelve: changes to '[mq]: second.patch' | |
218 | diff --git a/b.rename/b b/b.rename/b |
|
218 | diff --git a/b.rename/b b/b.rename/b | |
219 | new file mode 100644 |
|
219 | new file mode 100644 | |
220 | --- /dev/null |
|
220 | --- /dev/null | |
@@ -602,11 +602,11 unshelve and conflicts with tracked and | |||||
602 | M f |
|
602 | M f | |
603 | ? f.orig |
|
603 | ? f.orig | |
604 | $ cat f |
|
604 | $ cat f | |
605 |
<<<<<<< dest: 5f6b880e719b - shelve: |
|
605 | <<<<<<< dest: 5f6b880e719b - shelve: pending changes temporary commit | |
606 | g |
|
606 | g | |
607 | ======= |
|
607 | ======= | |
608 | f |
|
608 | f | |
609 |
>>>>>>> source: 23b29cada8ba - shelve: |
|
609 | >>>>>>> source: 23b29cada8ba - shelve: changes to 'commit stuff' | |
610 | $ cat f.orig |
|
610 | $ cat f.orig | |
611 | g |
|
611 | g | |
612 | $ hg unshelve --abort |
|
612 | $ hg unshelve --abort | |
@@ -645,11 +645,11 unshelve and conflicts with tracked and | |||||
645 | M f |
|
645 | M f | |
646 | ? f.orig |
|
646 | ? f.orig | |
647 | $ cat f |
|
647 | $ cat f | |
648 |
<<<<<<< dest: |
|
648 | <<<<<<< dest: * - test: intermediate other change (glob) | |
649 | g |
|
649 | g | |
650 | ======= |
|
650 | ======= | |
651 | f |
|
651 | f | |
652 |
>>>>>>> source: 23b29cada8ba - shelve: |
|
652 | >>>>>>> source: 23b29cada8ba - shelve: changes to 'commit stuff' | |
653 | $ cat f.orig |
|
653 | $ cat f.orig | |
654 | g |
|
654 | g | |
655 | $ hg unshelve --abort |
|
655 | $ hg unshelve --abort |
@@ -298,11 +298,11 merge tests | |||||
298 | should conflict |
|
298 | should conflict | |
299 |
|
299 | |||
300 | $ cat t/t |
|
300 | $ cat t/t | |
301 |
<<<<<<< local: 20a0db6fbf6c - test: |
|
301 | <<<<<<< local: 20a0db6fbf6c - test: 10 | |
302 | conflict |
|
302 | conflict | |
303 | ======= |
|
303 | ======= | |
304 | t3 |
|
304 | t3 | |
305 |
>>>>>>> other: 7af322bc1198 - test: |
|
305 | >>>>>>> other: 7af322bc1198 - test: 7 | |
306 |
|
306 | |||
307 | clone |
|
307 | clone | |
308 |
|
308 |
General Comments 0
You need to be logged in to leave comments.
Login now