Show More
@@ -2661,6 +2661,47 b' class localrepository(object):' | |||
|
2661 | 2661 | drop = sorted([f for f in removed if f in m]) |
|
2662 | 2662 | for f in drop: |
|
2663 | 2663 | del m[f] |
|
2664 | if p2.rev() != nullrev: | |
|
2665 | @util.cachefunc | |
|
2666 | def mas(): | |
|
2667 | p1n = p1.node() | |
|
2668 | p2n = p2.node() | |
|
2669 | cahs = self.changelog.commonancestorsheads(p1n, p2n) | |
|
2670 | if not cahs: | |
|
2671 | cahs = [nullrev] | |
|
2672 | return [self[r].manifest() for r in cahs] | |
|
2673 | def deletionfromparent(f): | |
|
2674 | # When a file is removed relative to p1 in a merge, this | |
|
2675 | # function determines whether the absence is due to a | |
|
2676 | # deletion from a parent, or whether the merge commit | |
|
2677 | # itself deletes the file. We decide this by doing a | |
|
2678 | # simplified three way merge of the manifest entry for | |
|
2679 | # the file. There are two ways we decide the merge | |
|
2680 | # itself didn't delete a file: | |
|
2681 | # - neither parent (nor the merge) contain the file | |
|
2682 | # - exactly one parent contains the file, and that | |
|
2683 | # parent has the same filelog entry as the merge | |
|
2684 | # ancestor (or all of them if there two). In other | |
|
2685 | # words, that parent left the file unchanged while the | |
|
2686 | # other one deleted it. | |
|
2687 | # One way to think about this is that deleting a file is | |
|
2688 | # similar to emptying it, so the list of changed files | |
|
2689 | # should be similar either way. The computation | |
|
2690 | # described above is not done directly in _filecommit | |
|
2691 | # when creating the list of changed files, however | |
|
2692 | # it does something very similar by comparing filelog | |
|
2693 | # nodes. | |
|
2694 | if f in m1: | |
|
2695 | return (f not in m2 | |
|
2696 | and all(f in ma and ma.find(f) == m1.find(f) | |
|
2697 | for ma in mas())) | |
|
2698 | elif f in m2: | |
|
2699 | return all(f in ma and ma.find(f) == m2.find(f) | |
|
2700 | for ma in mas()) | |
|
2701 | else: | |
|
2702 | return True | |
|
2703 | removed = [f for f in removed if not deletionfromparent(f)] | |
|
2704 | ||
|
2664 | 2705 | files = changed + removed |
|
2665 | 2706 | md = None |
|
2666 | 2707 | if not files: |
@@ -583,12 +583,12 b' on branch2 with branch1 merged, so file1' | |||
|
583 | 583 | (branch merge, don't forget to commit) |
|
584 | 584 | $ hg ci -d '4 0' -m 'merge backout of branch1' |
|
585 | 585 | $ hg id |
|
586 |
|
|
|
586 | d97a8500a969 (branch2) tip | |
|
587 | 587 | $ hg st -A |
|
588 | 588 | C default |
|
589 | 589 | C file2 |
|
590 | 590 | $ hg summary |
|
591 |
parent: 4: |
|
|
591 | parent: 4:d97a8500a969 tip | |
|
592 | 592 | merge backout of branch1 |
|
593 | 593 | branch: branch2 |
|
594 | 594 | commit: (clean) |
@@ -649,7 +649,7 b' Amend a merge changeset (with renames an' | |||
|
649 | 649 | (no more unresolved files) |
|
650 | 650 | $ hg ci -m 'merge bar' |
|
651 | 651 | $ hg log --config diff.git=1 -pr . |
|
652 |
changeset: 20: |
|
|
652 | changeset: 20:5aba7f3726e6 | |
|
653 | 653 | tag: tip |
|
654 | 654 | parent: 19:30d96aeaf27b |
|
655 | 655 | parent: 18:1aa437659d19 |
@@ -682,7 +682,7 b' Amend a merge changeset (with renames an' | |||
|
682 | 682 | $ HGEDITOR="sh .hg/checkeditform.sh" hg ci --amend -m 'merge bar (amend message)' --edit |
|
683 | 683 | HGEDITFORM=commit.amend.merge |
|
684 | 684 | $ hg log --config diff.git=1 -pr . |
|
685 |
changeset: 21: |
|
|
685 | changeset: 21:4b0631ef043e | |
|
686 | 686 | tag: tip |
|
687 | 687 | parent: 19:30d96aeaf27b |
|
688 | 688 | parent: 18:1aa437659d19 |
@@ -715,7 +715,7 b' Amend a merge changeset (with renames an' | |||
|
715 | 715 | $ hg mv zz z |
|
716 | 716 | $ hg ci --amend -m 'merge bar (undo rename)' |
|
717 | 717 | $ hg log --config diff.git=1 -pr . |
|
718 |
changeset: 22: |
|
|
718 | changeset: 22:06423be42d60 | |
|
719 | 719 | tag: tip |
|
720 | 720 | parent: 19:30d96aeaf27b |
|
721 | 721 | parent: 18:1aa437659d19 |
@@ -751,9 +751,9 b' Amend a merge changeset (with renames du' | |||
|
751 | 751 | $ echo aa >> aaa |
|
752 | 752 | $ hg ci -m 'merge bar again' |
|
753 | 753 | $ hg log --config diff.git=1 -pr . |
|
754 |
changeset: 24: |
|
|
754 | changeset: 24:a89974a20457 | |
|
755 | 755 | tag: tip |
|
756 |
parent: 22: |
|
|
756 | parent: 22:06423be42d60 | |
|
757 | 757 | parent: 23:4c94d5bc65f5 |
|
758 | 758 | user: test |
|
759 | 759 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -800,9 +800,9 b' in p1 too, but it was recorded as copied' | |||
|
800 | 800 | $ hg mv aaa aa |
|
801 | 801 | $ hg ci --amend -m 'merge bar again (undo rename)' |
|
802 | 802 | $ hg log --config diff.git=1 -pr . |
|
803 |
changeset: 25: |
|
|
803 | changeset: 25:282080768800 | |
|
804 | 804 | tag: tip |
|
805 |
parent: 22: |
|
|
805 | parent: 22:06423be42d60 | |
|
806 | 806 | parent: 23:4c94d5bc65f5 |
|
807 | 807 | user: test |
|
808 | 808 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -843,9 +843,9 b' Amend a merge changeset (with manifest-l' | |||
|
843 | 843 | What do you want to do? c |
|
844 | 844 | $ hg ci -m 'merge bar (with conflicts)' |
|
845 | 845 | $ hg log --config diff.git=1 -pr . |
|
846 |
changeset: 28: |
|
|
846 | changeset: 28:ed15db12298d | |
|
847 | 847 | tag: tip |
|
848 |
parent: 27:4 |
|
|
848 | parent: 27:eb5adec0b43b | |
|
849 | 849 | parent: 26:67db8847a540 |
|
850 | 850 | user: test |
|
851 | 851 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -855,9 +855,9 b' Amend a merge changeset (with manifest-l' | |||
|
855 | 855 | $ hg rm aa |
|
856 | 856 | $ hg ci --amend -m 'merge bar (with conflicts, amended)' |
|
857 | 857 | $ hg log --config diff.git=1 -pr . |
|
858 |
changeset: 29: |
|
|
858 | changeset: 29:0eeafd043f63 | |
|
859 | 859 | tag: tip |
|
860 |
parent: 27:4 |
|
|
860 | parent: 27:eb5adec0b43b | |
|
861 | 861 | parent: 26:67db8847a540 |
|
862 | 862 | user: test |
|
863 | 863 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -974,7 +974,7 b' Test that "diff()" in committemplate wor' | |||
|
974 | 974 | HG: M: |
|
975 | 975 | HG: A: foo |
|
976 | 976 | HG: R: |
|
977 |
HG: diff -r |
|
|
977 | HG: diff -r 0eeafd043f63 foo | |
|
978 | 978 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
979 | 979 | HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
980 | 980 | HG: @@ -0,0 +1,1 @@ |
@@ -988,12 +988,12 b' Test that "diff()" in committemplate wor' | |||
|
988 | 988 | HG: M: |
|
989 | 989 | HG: A: foo y |
|
990 | 990 | HG: R: |
|
991 |
HG: diff -r |
|
|
991 | HG: diff -r 0eeafd043f63 foo | |
|
992 | 992 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
993 | 993 | HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
994 | 994 | HG: @@ -0,0 +1,1 @@ |
|
995 | 995 | HG: +foo |
|
996 |
HG: diff -r |
|
|
996 | HG: diff -r 0eeafd043f63 y | |
|
997 | 997 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
998 | 998 | HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
|
999 | 999 | HG: @@ -0,0 +1,1 @@ |
@@ -1006,18 +1006,18 b' Test that "diff()" in committemplate wor' | |||
|
1006 | 1006 | HG: M: |
|
1007 | 1007 | HG: A: foo y |
|
1008 | 1008 | HG: R: a |
|
1009 |
HG: diff -r |
|
|
1009 | HG: diff -r 0eeafd043f63 a | |
|
1010 | 1010 | HG: --- a/a Thu Jan 01 00:00:00 1970 +0000 |
|
1011 | 1011 | HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1012 | 1012 | HG: @@ -1,2 +0,0 @@ |
|
1013 | 1013 | HG: -a |
|
1014 | 1014 | HG: -a |
|
1015 |
HG: diff -r |
|
|
1015 | HG: diff -r 0eeafd043f63 foo | |
|
1016 | 1016 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1017 | 1017 | HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
1018 | 1018 | HG: @@ -0,0 +1,1 @@ |
|
1019 | 1019 | HG: +foo |
|
1020 |
HG: diff -r |
|
|
1020 | HG: diff -r 0eeafd043f63 y | |
|
1021 | 1021 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1022 | 1022 | HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
|
1023 | 1023 | HG: @@ -0,0 +1,1 @@ |
@@ -1030,23 +1030,23 b' Test that "diff()" in committemplate wor' | |||
|
1030 | 1030 | HG: M: |
|
1031 | 1031 | HG: A: foo y |
|
1032 | 1032 | HG: R: a x |
|
1033 |
HG: diff -r |
|
|
1033 | HG: diff -r 0eeafd043f63 a | |
|
1034 | 1034 | HG: --- a/a Thu Jan 01 00:00:00 1970 +0000 |
|
1035 | 1035 | HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1036 | 1036 | HG: @@ -1,2 +0,0 @@ |
|
1037 | 1037 | HG: -a |
|
1038 | 1038 | HG: -a |
|
1039 |
HG: diff -r |
|
|
1039 | HG: diff -r 0eeafd043f63 foo | |
|
1040 | 1040 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1041 | 1041 | HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
1042 | 1042 | HG: @@ -0,0 +1,1 @@ |
|
1043 | 1043 | HG: +foo |
|
1044 |
HG: diff -r |
|
|
1044 | HG: diff -r 0eeafd043f63 x | |
|
1045 | 1045 | HG: --- a/x Thu Jan 01 00:00:00 1970 +0000 |
|
1046 | 1046 | HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1047 | 1047 | HG: @@ -1,1 +0,0 @@ |
|
1048 | 1048 | HG: -x |
|
1049 |
HG: diff -r |
|
|
1049 | HG: diff -r 0eeafd043f63 y | |
|
1050 | 1050 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1051 | 1051 | HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
|
1052 | 1052 | HG: @@ -0,0 +1,1 @@ |
@@ -1061,23 +1061,23 b' Test that "diff()" in committemplate wor' | |||
|
1061 | 1061 | HG: M: |
|
1062 | 1062 | HG: A: foo y |
|
1063 | 1063 | HG: R: a x |
|
1064 |
HG: diff -r |
|
|
1064 | HG: diff -r 0eeafd043f63 a | |
|
1065 | 1065 | HG: --- a/a Thu Jan 01 00:00:00 1970 +0000 |
|
1066 | 1066 | HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1067 | 1067 | HG: @@ -1,2 +0,0 @@ |
|
1068 | 1068 | HG: -a |
|
1069 | 1069 | HG: -a |
|
1070 |
HG: diff -r |
|
|
1070 | HG: diff -r 0eeafd043f63 foo | |
|
1071 | 1071 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1072 | 1072 | HG: +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
1073 | 1073 | HG: @@ -0,0 +1,1 @@ |
|
1074 | 1074 | HG: +foo |
|
1075 |
HG: diff -r |
|
|
1075 | HG: diff -r 0eeafd043f63 x | |
|
1076 | 1076 | HG: --- a/x Thu Jan 01 00:00:00 1970 +0000 |
|
1077 | 1077 | HG: +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1078 | 1078 | HG: @@ -1,1 +0,0 @@ |
|
1079 | 1079 | HG: -x |
|
1080 |
HG: diff -r |
|
|
1080 | HG: diff -r 0eeafd043f63 y | |
|
1081 | 1081 | HG: --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1082 | 1082 | HG: +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
|
1083 | 1083 | HG: @@ -0,0 +1,1 @@ |
@@ -760,9 +760,8 b' test converting merges into a repo that ' | |||
|
760 | 760 | converted/b |
|
761 | 761 | x |
|
762 | 762 | $ hg -R merge-test2 log -G -T '{shortest(node)} {desc}\n{files % "- {file}\n"}\n' |
|
763 |
o |
|
|
763 | o e2ff merge a & b | |
|
764 | 764 | |\ - converted/a |
|
765 | | | - toberemoved | |
|
766 | 765 | | | |
|
767 | 766 | | o 2995 add b |
|
768 | 767 | | | - converted/b |
@@ -54,7 +54,7 b' Convert from null revision' | |||
|
54 | 54 | $ glog full |
|
55 | 55 | o 5 "5: change a" files: a |
|
56 | 56 | | |
|
57 |
o 4 "4: merge 2 and 3" files: e |
|
|
57 | o 4 "4: merge 2 and 3" files: e | |
|
58 | 58 | |\ |
|
59 | 59 | | o 3 "3: change a" files: a |
|
60 | 60 | | | |
@@ -83,7 +83,7 b' Convert from zero revision' | |||
|
83 | 83 | $ glog full |
|
84 | 84 | o 5 "5: change a" files: a |
|
85 | 85 | | |
|
86 |
o 4 "4: merge 2 and 3" files: e |
|
|
86 | o 4 "4: merge 2 and 3" files: e | |
|
87 | 87 | |\ |
|
88 | 88 | | o 3 "3: change a" files: a |
|
89 | 89 | | | |
@@ -130,7 +130,7 b' Check copy preservation' | |||
|
130 | 130 | (It seems like a bug in log that the following doesn't show rev 1.) |
|
131 | 131 | |
|
132 | 132 | $ hg log --follow --copies e |
|
133 |
changeset: 2:8 |
|
|
133 | changeset: 2:8d3c3fe67bb7 | |
|
134 | 134 | user: test |
|
135 | 135 | date: Thu Jan 01 00:00:04 1970 +0000 |
|
136 | 136 | summary: 4: merge 2 and 3 |
@@ -202,7 +202,7 b' Merge rename from other branch' | |||
|
202 | 202 | $ hg ci -m 'merge rename from p2' |
|
203 | 203 | $ hg l |
|
204 | 204 | @ 3 merge rename from p2 |
|
205 |
|\ |
|
|
205 | |\ | |
|
206 | 206 | | o 2 add z |
|
207 | 207 | | | z |
|
208 | 208 | o | 1 rename x to y |
@@ -417,9 +417,9 b' Try merging the other direction too' | |||
|
417 | 417 | created new head |
|
418 | 418 | $ hg l |
|
419 | 419 | @ 5 merge 3 into 1 |
|
420 |
|\ |
|
|
420 | |\ z | |
|
421 | 421 | +---o 4 merge 1 into 3 |
|
422 |
| |/ |
|
|
422 | | |/ z | |
|
423 | 423 | | o 3 modify z |
|
424 | 424 | | | z |
|
425 | 425 | | o 2 rename y to z |
@@ -2101,7 +2101,7 b' Test --patch and --stat with --follow an' | |||
|
2101 | 2101 | |
|
2102 | 2102 | $ hg up -q 6 |
|
2103 | 2103 | $ hg log -G --git --patch --follow-first e |
|
2104 |
\xe2\x97\x8d changeset: 6: |
|
|
2104 | \xe2\x97\x8d changeset: 6:9feeac35a70a (esc) | |
|
2105 | 2105 | \xe2\x94\x82\xe2\x95\xb2 tag: tip (esc) |
|
2106 | 2106 | \xe2\x94\x82 \xe2\x95\xa7 parent: 5:99b31f1c2782 (esc) |
|
2107 | 2107 | \xe2\x94\x82 parent: 4:17d952250a9d (esc) |
@@ -2148,7 +2148,7 b' Test --follow and forward --rev' | |||
|
2148 | 2148 | $ hg log -G --template "{rev} {desc|firstline}\n" |
|
2149 | 2149 | \xe2\x97\x8b 8 add g (esc) |
|
2150 | 2150 | \xe2\x94\x82 (esc) |
|
2151 |
\xe2\x94\x82 \xe2\x97\x8b 7 Added tag foo-bar for changeset |
|
|
2151 | \xe2\x94\x82 \xe2\x97\x8b 7 Added tag foo-bar for changeset 9feeac35a70a (esc) | |
|
2152 | 2152 | \xe2\x94\x82\xe2\x95\xb1 (esc) |
|
2153 | 2153 | \xe2\x97\x8b 6 merge 5 and 4 (esc) |
|
2154 | 2154 | \xe2\x94\x82\xe2\x95\xb2 (esc) |
@@ -2311,17 +2311,17 b' changessincelatesttag with no prior tag' | |||
|
2311 | 2311 | # User test |
|
2312 | 2312 | # Date 0 0 |
|
2313 | 2313 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2314 | # Node ID fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2314 | # Node ID 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2315 | 2315 | # Parent 99b31f1c2782e2deb1723cef08930f70fc84b37b |
|
2316 | 2316 | # Parent 17d952250a9d03cc3dc77b199ab60e959b9b0260 |
|
2317 | 2317 | merge 5 and 4 |
|
2318 | 2318 | |
|
2319 |
diff -r 99b31f1c2782 -r |
|
|
2319 | diff -r 99b31f1c2782 -r 9feeac35a70a dir/b | |
|
2320 | 2320 | --- a/dir/b Thu Jan 01 00:00:00 1970 +0000 |
|
2321 | 2321 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2322 | 2322 | @@ -1,1 +0,0 @@ |
|
2323 | 2323 | -a |
|
2324 |
diff -r 99b31f1c2782 -r |
|
|
2324 | diff -r 99b31f1c2782 -r 9feeac35a70a e | |
|
2325 | 2325 | --- a/e Thu Jan 01 00:00:00 1970 +0000 |
|
2326 | 2326 | +++ b/e Thu Jan 01 00:00:00 1970 +0000 |
|
2327 | 2327 | @@ -1,1 +1,1 @@ |
@@ -2331,24 +2331,24 b' changessincelatesttag with no prior tag' | |||
|
2331 | 2331 | # User test |
|
2332 | 2332 | # Date 0 0 |
|
2333 | 2333 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2334 | # Node ID 02dbb8e276b8ab7abfd07cab50c901647e75c2dd | |
|
2335 | # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2336 |
Added tag foo-bar for changeset |
|
|
2334 | # Node ID 9febbb9c8b2e09670a2fb550cb1e4e01a2c7e9fd | |
|
2335 | # Parent 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2336 | Added tag foo-bar for changeset 9feeac35a70a | |
|
2337 | 2337 | |
|
2338 |
diff -r |
|
|
2338 | diff -r 9feeac35a70a -r 9febbb9c8b2e .hgtags | |
|
2339 | 2339 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2340 | 2340 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
2341 | 2341 | @@ -0,0 +1,1 @@ |
|
2342 | +fc281d8ff18d999ad6497b3d27390bcd695dcc73 foo-bar | |
|
2342 | +9feeac35a70aa325519bbf3178683271113f2b8f foo-bar | |
|
2343 | 2343 | # HG changeset patch |
|
2344 | 2344 | # User test |
|
2345 | 2345 | # Date 0 0 |
|
2346 | 2346 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2347 | # Node ID 24c2e826ddebf80f9dcd60b856bdb8e6715c5449 | |
|
2348 | # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2347 | # Node ID 3bd4551ec3fe1c0696241f236abe857a53c6d6e7 | |
|
2348 | # Parent 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2349 | 2349 | add g |
|
2350 | 2350 | |
|
2351 | diff -r fc281d8ff18d -r 24c2e826ddeb g | |
|
2351 | diff -r 9feeac35a70a -r 3bd4551ec3fe g | |
|
2352 | 2352 | --- a/g Thu Jan 01 00:00:00 1970 +0000 |
|
2353 | 2353 | +++ b/g Thu Jan 01 00:00:00 1970 +0000 |
|
2354 | 2354 | @@ -1,2 +1,1 @@ |
@@ -2436,7 +2436,7 b' Test --hidden' | |||
|
2436 | 2436 | [] |
|
2437 | 2437 | <spanset- 0:9> |
|
2438 | 2438 | $ hg log -G --template '{rev} {desc}\n' |
|
2439 |
\xe2\x97\x8b 7 Added tag foo-bar for changeset |
|
|
2439 | \xe2\x97\x8b 7 Added tag foo-bar for changeset 9feeac35a70a (esc) | |
|
2440 | 2440 | \xe2\x94\x82 (esc) |
|
2441 | 2441 | \xe2\x97\x8b 6 merge 5 and 4 (esc) |
|
2442 | 2442 | \xe2\x94\x82\xe2\x95\xb2 (esc) |
@@ -2534,9 +2534,9 b' working-directory revision' | |||
|
2534 | 2534 | node template with changesetprinter: |
|
2535 | 2535 | |
|
2536 | 2536 | $ hg log -Gqr 5:7 --config ui.graphnodetemplate='"{rev}"' |
|
2537 | 7 7:02dbb8e276b8 | |
|
2537 | 7 7:9febbb9c8b2e | |
|
2538 | 2538 | \xe2\x94\x82 (esc) |
|
2539 | 6 6:fc281d8ff18d | |
|
2539 | 6 6:9feeac35a70a | |
|
2540 | 2540 | \xe2\x94\x82\xe2\x95\xb2 (esc) |
|
2541 | 2541 | \xe2\x94\x82 \xe2\x95\xa7 (esc) |
|
2542 | 2542 | 5 5:99b31f1c2782 |
@@ -2560,7 +2560,7 b' label() should just work in node templat' | |||
|
2560 | 2560 | |
|
2561 | 2561 | $ hg log -Gqr 7 --config extensions.color= --color=debug \ |
|
2562 | 2562 | > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}' |
|
2563 |
[branch.default\xe2\x94\x827] [log.node|7: |
|
|
2563 | [branch.default\xe2\x94\x827] [log.node|7:9febbb9c8b2e] (esc) | |
|
2564 | 2564 | \xe2\x94\x82 (esc) |
|
2565 | 2565 | \xe2\x95\xa7 (esc) |
|
2566 | 2566 |
@@ -1951,7 +1951,7 b' Test --patch and --stat with --follow an' | |||
|
1951 | 1951 | |
|
1952 | 1952 | $ hg up -q 6 |
|
1953 | 1953 | $ hg log -G --git --patch --follow-first e |
|
1954 |
@ changeset: 6: |
|
|
1954 | @ changeset: 6:9feeac35a70a | |
|
1955 | 1955 | |\ tag: tip |
|
1956 | 1956 | | ~ parent: 5:99b31f1c2782 |
|
1957 | 1957 | | parent: 4:17d952250a9d |
@@ -1998,7 +1998,7 b' Test --follow and forward --rev' | |||
|
1998 | 1998 | $ hg log -G --template "{rev} {desc|firstline}\n" |
|
1999 | 1999 | o 8 add g |
|
2000 | 2000 | | |
|
2001 |
| o 7 Added tag foo-bar for changeset |
|
|
2001 | | o 7 Added tag foo-bar for changeset 9feeac35a70a | |
|
2002 | 2002 | |/ |
|
2003 | 2003 | o 6 merge 5 and 4 |
|
2004 | 2004 | |\ |
@@ -2161,17 +2161,17 b' changessincelatesttag with no prior tag' | |||
|
2161 | 2161 | # User test |
|
2162 | 2162 | # Date 0 0 |
|
2163 | 2163 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2164 | # Node ID fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2164 | # Node ID 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2165 | 2165 | # Parent 99b31f1c2782e2deb1723cef08930f70fc84b37b |
|
2166 | 2166 | # Parent 17d952250a9d03cc3dc77b199ab60e959b9b0260 |
|
2167 | 2167 | merge 5 and 4 |
|
2168 | 2168 | |
|
2169 |
diff -r 99b31f1c2782 -r |
|
|
2169 | diff -r 99b31f1c2782 -r 9feeac35a70a dir/b | |
|
2170 | 2170 | --- a/dir/b Thu Jan 01 00:00:00 1970 +0000 |
|
2171 | 2171 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2172 | 2172 | @@ -1,1 +0,0 @@ |
|
2173 | 2173 | -a |
|
2174 |
diff -r 99b31f1c2782 -r |
|
|
2174 | diff -r 99b31f1c2782 -r 9feeac35a70a e | |
|
2175 | 2175 | --- a/e Thu Jan 01 00:00:00 1970 +0000 |
|
2176 | 2176 | +++ b/e Thu Jan 01 00:00:00 1970 +0000 |
|
2177 | 2177 | @@ -1,1 +1,1 @@ |
@@ -2181,24 +2181,24 b' changessincelatesttag with no prior tag' | |||
|
2181 | 2181 | # User test |
|
2182 | 2182 | # Date 0 0 |
|
2183 | 2183 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2184 | # Node ID 02dbb8e276b8ab7abfd07cab50c901647e75c2dd | |
|
2185 | # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2186 |
Added tag foo-bar for changeset |
|
|
2184 | # Node ID 9febbb9c8b2e09670a2fb550cb1e4e01a2c7e9fd | |
|
2185 | # Parent 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2186 | Added tag foo-bar for changeset 9feeac35a70a | |
|
2187 | 2187 | |
|
2188 |
diff -r |
|
|
2188 | diff -r 9feeac35a70a -r 9febbb9c8b2e .hgtags | |
|
2189 | 2189 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2190 | 2190 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
2191 | 2191 | @@ -0,0 +1,1 @@ |
|
2192 | +fc281d8ff18d999ad6497b3d27390bcd695dcc73 foo-bar | |
|
2192 | +9feeac35a70aa325519bbf3178683271113f2b8f foo-bar | |
|
2193 | 2193 | # HG changeset patch |
|
2194 | 2194 | # User test |
|
2195 | 2195 | # Date 0 0 |
|
2196 | 2196 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2197 | # Node ID 24c2e826ddebf80f9dcd60b856bdb8e6715c5449 | |
|
2198 | # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73 | |
|
2197 | # Node ID 3bd4551ec3fe1c0696241f236abe857a53c6d6e7 | |
|
2198 | # Parent 9feeac35a70aa325519bbf3178683271113f2b8f | |
|
2199 | 2199 | add g |
|
2200 | 2200 | |
|
2201 | diff -r fc281d8ff18d -r 24c2e826ddeb g | |
|
2201 | diff -r 9feeac35a70a -r 3bd4551ec3fe g | |
|
2202 | 2202 | --- a/g Thu Jan 01 00:00:00 1970 +0000 |
|
2203 | 2203 | +++ b/g Thu Jan 01 00:00:00 1970 +0000 |
|
2204 | 2204 | @@ -1,2 +1,1 @@ |
@@ -2286,7 +2286,7 b' Test --hidden' | |||
|
2286 | 2286 | [] |
|
2287 | 2287 | <spanset- 0:9> |
|
2288 | 2288 | $ hg log -G --template '{rev} {desc}\n' |
|
2289 |
o 7 Added tag foo-bar for changeset |
|
|
2289 | o 7 Added tag foo-bar for changeset 9feeac35a70a | |
|
2290 | 2290 | | |
|
2291 | 2291 | o 6 merge 5 and 4 |
|
2292 | 2292 | |\ |
@@ -2384,9 +2384,9 b' working-directory revision' | |||
|
2384 | 2384 | node template with changesetprinter: |
|
2385 | 2385 | |
|
2386 | 2386 | $ hg log -Gqr 5:7 --config ui.graphnodetemplate='"{rev}"' |
|
2387 | 7 7:02dbb8e276b8 | |
|
2387 | 7 7:9febbb9c8b2e | |
|
2388 | 2388 | | |
|
2389 | 6 6:fc281d8ff18d | |
|
2389 | 6 6:9feeac35a70a | |
|
2390 | 2390 | |\ |
|
2391 | 2391 | | ~ |
|
2392 | 2392 | 5 5:99b31f1c2782 |
@@ -2410,7 +2410,7 b' label() should just work in node templat' | |||
|
2410 | 2410 | |
|
2411 | 2411 | $ hg log -Gqr 7 --config extensions.color= --color=debug \ |
|
2412 | 2412 | > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}' |
|
2413 |
[branch.default|7] [log.node|7: |
|
|
2413 | [branch.default|7] [log.node|7:9febbb9c8b2e] | |
|
2414 | 2414 | | |
|
2415 | 2415 | ~ |
|
2416 | 2416 |
@@ -60,13 +60,13 b' https://bz.mercurial-scm.org/672' | |||
|
60 | 60 | checking for directory renames |
|
61 | 61 | resolving manifests |
|
62 | 62 | branchmerge: True, force: False, partial: False |
|
63 |
ancestor: c64f439569a9, local: |
|
|
63 | ancestor: c64f439569a9, local: f4a9cff3cd0b+, remote: 746e9549ea96 | |
|
64 | 64 | preserving 1a for resolve of 1a |
|
65 | 65 | starting 4 threads for background file closing (?) |
|
66 | 66 | 1a: local copied/moved from 1 -> m (premerge) |
|
67 | 67 | picked tool ':merge' for 1a (binary False symlink False changedelete False) |
|
68 | 68 | merging 1a and 1 to 1a |
|
69 |
my 1a@ |
|
|
69 | my 1a@f4a9cff3cd0b+ other 1@746e9549ea96 ancestor 1@c64f439569a9 | |
|
70 | 70 | premerge successful |
|
71 | 71 | 0 files updated, 1 files merged, 0 files removed, 0 files unresolved |
|
72 | 72 | (branch merge, don't forget to commit) |
@@ -82,14 +82,14 b' https://bz.mercurial-scm.org/672' | |||
|
82 | 82 | checking for directory renames |
|
83 | 83 | resolving manifests |
|
84 | 84 | branchmerge: True, force: False, partial: False |
|
85 |
ancestor: c64f439569a9, local: 746e9549ea96+, remote: |
|
|
85 | ancestor: c64f439569a9, local: 746e9549ea96+, remote: f4a9cff3cd0b | |
|
86 | 86 | preserving 1 for resolve of 1a |
|
87 | 87 | removing 1 |
|
88 | 88 | starting 4 threads for background file closing (?) |
|
89 | 89 | 1a: remote moved from 1 -> m (premerge) |
|
90 | 90 | picked tool ':merge' for 1a (binary False symlink False changedelete False) |
|
91 | 91 | merging 1 and 1a to 1a |
|
92 |
my 1a@746e9549ea96+ other 1a@ |
|
|
92 | my 1a@746e9549ea96+ other 1a@f4a9cff3cd0b ancestor 1@c64f439569a9 | |
|
93 | 93 | premerge successful |
|
94 | 94 | 0 files updated, 1 files merged, 0 files removed, 0 files unresolved |
|
95 | 95 | (branch merge, don't forget to commit) |
@@ -160,7 +160,7 b' lfconvert with rename, merge, and remove' | |||
|
160 | 160 | initializing destination largefiles-repo |
|
161 | 161 | $ cd largefiles-repo |
|
162 | 162 | $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
|
163 |
o 5: |
|
|
163 | o 5:9cc5aa7204f0 merge | |
|
164 | 164 | |\ |
|
165 | 165 | | o 4:a5a02de7a8e4 remove large, normal3 |
|
166 | 166 | | | |
@@ -251,7 +251,7 b' convert extension is disabled to show co' | |||
|
251 | 251 | 3 remove large, normal3 |
|
252 | 252 | 2 merge |
|
253 | 253 | 1 add anotherlarge (should be a largefile) |
|
254 |
0 Added tag mytag for changeset |
|
|
254 | 0 Added tag mytag for changeset 17126745edfd | |
|
255 | 255 | $ cd ../normal-repo |
|
256 | 256 | $ cat >> .hg/hgrc <<EOF |
|
257 | 257 | > [extensions] |
@@ -304,7 +304,7 b' from the working dir on a convert.' | |||
|
304 | 304 | 3 remove large, normal3 |
|
305 | 305 | 2 merge |
|
306 | 306 | 1 add anotherlarge (should be a largefile) |
|
307 |
0 Added tag mytag for changeset |
|
|
307 | 0 Added tag mytag for changeset 17126745edfd | |
|
308 | 308 | |
|
309 | 309 | $ hg -R largefiles-repo-hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
|
310 | 310 | o 7:2f08f66459b7 Added tag mytag for changeset 17126745edfd |
@@ -374,7 +374,7 b' Ensure the largefile can be cached in th' | |||
|
374 | 374 | 4 remove large, normal3 |
|
375 | 375 | 3 merge |
|
376 | 376 | 2 add anotherlarge (should be a largefile) |
|
377 |
1 Added tag mytag for changeset |
|
|
377 | 1 Added tag mytag for changeset 17126745edfd | |
|
378 | 378 | 0 change branch name only |
|
379 | 379 | |
|
380 | 380 | Ensure empty commits aren't lost in the conversion |
@@ -118,7 +118,7 b' All the merges of various file contents.' | |||
|
118 | 118 | 12-- C: agree on "a" |
|
119 | 119 | 1-11 : hg said "", expected "a" |
|
120 | 120 | 1-12 : agree on "a" |
|
121 | 1-1- : hg said "a", expected "" | |
|
121 | 1-1- : agree on "" | |
|
122 | 122 | 1-21 C: agree on "a" |
|
123 | 123 | 1-22 C: hg said "", expected "a" |
|
124 | 124 | 1-23 C: agree on "a" |
@@ -215,6 +215,6 b' containing $files.' | |||
|
215 | 215 | $ hg merge -qr 3; echo f > u1; echo f > u2; rm -f c1 c2 |
|
216 | 216 | $ hg commit -qAm '5 merge with two gcas' |
|
217 | 217 | $ hg log -r . -T '{files}\n' # expecting u1 u2 |
|
218 |
|
|
|
218 | ||
|
219 | 219 | $ cd ../ |
|
220 | 220 | $ rm -rf repo |
@@ -744,7 +744,7 b' Test rebasing a commit with copy informa' | |||
|
744 | 744 | $ hg tglog |
|
745 | 745 | @ 6: 676538af172d 'untracked rename of d to e' |
|
746 | 746 | | |
|
747 |
| * 5: 71c |
|
|
747 | | * 5: 574d92ad16fc 'merge' | |
|
748 | 748 | | |\ |
|
749 | 749 | | | x 4: 2c8b5dad7956 'rename d to e' |
|
750 | 750 | | | | |
@@ -758,8 +758,8 b' Test rebasing a commit with copy informa' | |||
|
758 | 758 | |
|
759 | 759 | $ hg rebase -b 5 -d tip |
|
760 | 760 | rebasing 3:ca58782ad1e4 "b" |
|
761 |
rebasing 5:71c |
|
|
762 |
note: not rebasing 5:71c |
|
|
761 | rebasing 5:574d92ad16fc "merge" | |
|
762 | note: not rebasing 5:574d92ad16fc "merge", its destination already has all its changes | |
|
763 | 763 | |
|
764 | 764 | $ cd .. |
|
765 | 765 |
@@ -108,7 +108,7 b' wrong.' | |||
|
108 | 108 | $ hg tglog |
|
109 | 109 | @ 7: e08089805d82 'default: f-other stuff' |
|
110 | 110 | | |
|
111 |
| o 6: |
|
|
111 | | o 6: 010ced67e558 'dev: merge default' dev | |
|
112 | 112 | |/| |
|
113 | 113 | o | 5: 462860db70a1 'default: remove f-default' |
|
114 | 114 | | | |
@@ -136,10 +136,10 b' Full rebase all the way back from branch' | |||
|
136 | 136 | file 'f-default' was deleted in local [dest] but was modified in other [source]. |
|
137 | 137 | You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved. |
|
138 | 138 | What do you want to do? c |
|
139 |
rebasing 6: |
|
|
140 |
saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-4 |
|
|
139 | rebasing 6:010ced67e558 "dev: merge default" | |
|
140 | saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-4a6f6d17-rebase.hg | |
|
141 | 141 | $ hg tglog |
|
142 |
o 6: |
|
|
142 | o 6: de147e4f69cf 'dev: merge default' | |
|
143 | 143 | | |
|
144 | 144 | o 5: eda7b7f46f5d 'dev: merge default' |
|
145 | 145 | | |
@@ -166,10 +166,10 b' Grafty cherry picking rebasing:' | |||
|
166 | 166 | file 'f-default' was deleted in local [dest] but was modified in other [source]. |
|
167 | 167 | You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved. |
|
168 | 168 | What do you want to do? c |
|
169 |
rebasing 6: |
|
|
170 |
saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984- |
|
|
169 | rebasing 6:010ced67e558 "dev: merge default" | |
|
170 | saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984-827d7a44-rebase.hg | |
|
171 | 171 | $ hg tglog |
|
172 |
o 7: |
|
|
172 | o 7: de147e4f69cf 'dev: merge default' | |
|
173 | 173 | | |
|
174 | 174 | o 6: eda7b7f46f5d 'dev: merge default' |
|
175 | 175 | | |
@@ -1721,11 +1721,9 b' min: empty on unordered set' | |||
|
1721 | 1721 | 4 |
|
1722 | 1722 | $ log 'modifies("*")' |
|
1723 | 1723 | 4 |
|
1724 | 6 | |
|
1725 | 1724 | $ log 'modifies("set:modified()")' |
|
1726 | 1725 | 4 |
|
1727 | 1726 | $ log 'id(5)' |
|
1728 | 2 | |
|
1729 | 1727 | $ log 'only(9)' |
|
1730 | 1728 | 8 |
|
1731 | 1729 | 9 |
@@ -1834,12 +1832,12 b' Test explicit numeric revision' | |||
|
1834 | 1832 | |
|
1835 | 1833 | Test hexadecimal revision |
|
1836 | 1834 | $ log 'id(2)' |
|
1837 |
$ log 'id( |
|
|
1838 |
|
|
|
1839 |
$ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'id(x |
|
|
1840 |
|
|
|
1841 |
$ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'x |
|
|
1842 |
|
|
|
1835 | $ log 'id(8)' | |
|
1836 | 3 | |
|
1837 | $ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'id(x8)' | |
|
1838 | 3 | |
|
1839 | $ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'x8' | |
|
1840 | 3 | |
|
1843 | 1841 | $ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'id(x)' |
|
1844 | 1842 | $ hg --config experimental.revisions.prefixhexnode=yes log --template '{rev}\n' -r 'x' |
|
1845 | 1843 | abort: 00changelog.i@: ambiguous identifier! |
@@ -2096,7 +2094,6 b" itself isn't returned unless it is expli" | |||
|
2096 | 2094 | 2 |
|
2097 | 2095 | $ log 'removes(a)' |
|
2098 | 2096 | 2 |
|
2099 | 6 | |
|
2100 | 2097 | $ log 'roots(all())' |
|
2101 | 2098 | 0 |
|
2102 | 2099 | $ log 'reverse(2 or 3 or 4 or 5)' |
@@ -2710,7 +2707,6 b' test sorting two sorted collections in d' | |||
|
2710 | 2707 | |
|
2711 | 2708 | $ log 'sort(outgoing() or reverse(removes(a)), rev)' |
|
2712 | 2709 | 2 |
|
2713 | 6 | |
|
2714 | 2710 | 8 |
|
2715 | 2711 | 9 |
|
2716 | 2712 | |
@@ -2719,7 +2715,6 b' test sorting two sorted collections in d' | |||
|
2719 | 2715 | $ log 'sort(outgoing() or reverse(removes(a)), -rev)' |
|
2720 | 2716 | 9 |
|
2721 | 2717 | 8 |
|
2722 | 6 | |
|
2723 | 2718 | 2 |
|
2724 | 2719 | |
|
2725 | 2720 | test empty sort key which is noop |
@@ -100,7 +100,6 b' test intersecting something with an adds' | |||
|
100 | 100 | $ log 'parents(outgoing() or removes(a))' |
|
101 | 101 | 1 |
|
102 | 102 | 4 |
|
103 | 5 | |
|
104 | 103 | 8 |
|
105 | 104 | |
|
106 | 105 | test that `or` operation combines elements in the right order: |
@@ -805,17 +804,17 b' test usage in revpair (with "+")' | |||
|
805 | 804 | (real pair) |
|
806 | 805 | |
|
807 | 806 | $ hg diff -r 'tip^^' -r 'tip' |
|
808 |
diff -r 2326846efdab -r |
|
|
807 | diff -r 2326846efdab -r d2e607fcf9e4 .hgtags | |
|
809 | 808 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
810 | 809 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
811 | 810 | @@ -0,0 +1,1 @@ |
|
812 | +e0cc66ef77e8b6f711815af4e001a6594fde3ba5 1.0 | |
|
811 | +d5e6808a86077d6f5c1ff626d4352d01da7d2a1f 1.0 | |
|
813 | 812 | $ hg diff -r 'tip^^::tip' |
|
814 |
diff -r 2326846efdab -r |
|
|
813 | diff -r 2326846efdab -r d2e607fcf9e4 .hgtags | |
|
815 | 814 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
816 | 815 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
817 | 816 | @@ -0,0 +1,1 @@ |
|
818 | +e0cc66ef77e8b6f711815af4e001a6594fde3ba5 1.0 | |
|
817 | +d5e6808a86077d6f5c1ff626d4352d01da7d2a1f 1.0 | |
|
819 | 818 | |
|
820 | 819 | (single rev) |
|
821 | 820 | |
@@ -829,13 +828,13 b' test usage in revpair (with "+")' | |||
|
829 | 828 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
830 | 829 | +++ b/.hgtags * (glob) |
|
831 | 830 | @@ -0,0 +1,1 @@ |
|
832 | +e0cc66ef77e8b6f711815af4e001a6594fde3ba5 1.0 | |
|
831 | +d5e6808a86077d6f5c1ff626d4352d01da7d2a1f 1.0 | |
|
833 | 832 | $ hg diff -r 'tip^ or tip^' |
|
834 | 833 | diff -r d5d0dcbdc4d9 .hgtags |
|
835 | 834 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
836 | 835 | +++ b/.hgtags * (glob) |
|
837 | 836 | @@ -0,0 +1,1 @@ |
|
838 | +e0cc66ef77e8b6f711815af4e001a6594fde3ba5 1.0 | |
|
837 | +d5e6808a86077d6f5c1ff626d4352d01da7d2a1f 1.0 | |
|
839 | 838 | |
|
840 | 839 | (no rev) |
|
841 | 840 | |
@@ -1231,59 +1230,59 b' test unknown reference:' | |||
|
1231 | 1230 | |
|
1232 | 1231 | issue4553: check that revset aliases override existing hash prefix |
|
1233 | 1232 | |
|
1234 | $ hg log -qr e | |
|
1235 | 6:e0cc66ef77e8 | |
|
1233 | $ hg log -qr d5e | |
|
1234 | 6:d5e6808a8607 | |
|
1236 | 1235 | |
|
1237 | $ hg log -qr e --config revsetalias.e="all()" | |
|
1236 | $ hg log -qr d5e --config revsetalias.d5e="all()" | |
|
1238 | 1237 | 0:2785f51eece5 |
|
1239 | 1238 | 1:d75937da8da0 |
|
1240 | 1239 | 2:5ed5505e9f1c |
|
1241 | 1240 | 3:8528aa5637f2 |
|
1242 | 1241 | 4:2326846efdab |
|
1243 | 1242 | 5:904fa392b941 |
|
1244 | 6:e0cc66ef77e8 | |
|
1245 | 7:013af1973af4 | |
|
1243 | 6:d5e6808a8607 | |
|
1244 | 7:586353d483b3 | |
|
1246 | 1245 | 8:d5d0dcbdc4d9 |
|
1247 | 9:24286f4ae135 | |
|
1246 | 9:d2e607fcf9e4 | |
|
1248 | 1247 | |
|
1249 | $ hg log -qr e: --config revsetalias.e="0" | |
|
1248 | $ hg log -qr d5e: --config revsetalias.d5e="0" | |
|
1250 | 1249 | 0:2785f51eece5 |
|
1251 | 1250 | 1:d75937da8da0 |
|
1252 | 1251 | 2:5ed5505e9f1c |
|
1253 | 1252 | 3:8528aa5637f2 |
|
1254 | 1253 | 4:2326846efdab |
|
1255 | 1254 | 5:904fa392b941 |
|
1256 | 6:e0cc66ef77e8 | |
|
1257 | 7:013af1973af4 | |
|
1255 | 6:d5e6808a8607 | |
|
1256 | 7:586353d483b3 | |
|
1258 | 1257 | 8:d5d0dcbdc4d9 |
|
1259 | 9:24286f4ae135 | |
|
1258 | 9:d2e607fcf9e4 | |
|
1260 | 1259 | |
|
1261 | $ hg log -qr :e --config revsetalias.e="9" | |
|
1260 | $ hg log -qr :d5e --config revsetalias.d5e="9" | |
|
1262 | 1261 | 0:2785f51eece5 |
|
1263 | 1262 | 1:d75937da8da0 |
|
1264 | 1263 | 2:5ed5505e9f1c |
|
1265 | 1264 | 3:8528aa5637f2 |
|
1266 | 1265 | 4:2326846efdab |
|
1267 | 1266 | 5:904fa392b941 |
|
1268 | 6:e0cc66ef77e8 | |
|
1269 | 7:013af1973af4 | |
|
1267 | 6:d5e6808a8607 | |
|
1268 | 7:586353d483b3 | |
|
1270 | 1269 | 8:d5d0dcbdc4d9 |
|
1271 | 9:24286f4ae135 | |
|
1270 | 9:d2e607fcf9e4 | |
|
1272 | 1271 | |
|
1273 | $ hg log -qr e: | |
|
1274 | 6:e0cc66ef77e8 | |
|
1275 | 7:013af1973af4 | |
|
1272 | $ hg log -qr d5e: | |
|
1273 | 6:d5e6808a8607 | |
|
1274 | 7:586353d483b3 | |
|
1276 | 1275 | 8:d5d0dcbdc4d9 |
|
1277 | 9:24286f4ae135 | |
|
1276 | 9:d2e607fcf9e4 | |
|
1278 | 1277 | |
|
1279 | $ hg log -qr :e | |
|
1278 | $ hg log -qr :d5e | |
|
1280 | 1279 | 0:2785f51eece5 |
|
1281 | 1280 | 1:d75937da8da0 |
|
1282 | 1281 | 2:5ed5505e9f1c |
|
1283 | 1282 | 3:8528aa5637f2 |
|
1284 | 1283 | 4:2326846efdab |
|
1285 | 1284 | 5:904fa392b941 |
|
1286 | 6:e0cc66ef77e8 | |
|
1285 | 6:d5e6808a8607 | |
|
1287 | 1286 | |
|
1288 | 1287 | issue2549 - correct optimizations |
|
1289 | 1288 | |
@@ -1471,7 +1470,7 b' tests for concatenation of strings/symbo' | |||
|
1471 | 1470 | (check operator priority) |
|
1472 | 1471 | |
|
1473 | 1472 | $ echo 'cat2n2($1, $2, $3, $4) = $1 ## $2 or $3 ## $4~2' >> .hg/hgrc |
|
1474 |
$ log "cat2n2(2785f5, 1eece5, |
|
|
1473 | $ log "cat2n2(2785f5, 1eece5, d2e607, fcf9e4)" | |
|
1475 | 1474 | 0 |
|
1476 | 1475 | 4 |
|
1477 | 1476 |
@@ -807,13 +807,13 b' Test files lists on merge commit:' | |||
|
807 | 807 | $ hg merge 10 -q |
|
808 | 808 | $ hg ci -m 'merge' |
|
809 | 809 | $ hg log -l1 -T '{files}\n' |
|
810 | a fourth | |
|
810 | ||
|
811 | 811 | $ hg log -l1 -T '{file_mods}\n' |
|
812 | 812 | |
|
813 | 813 | $ hg log -l1 -T '{file_adds}\n' |
|
814 | 814 | |
|
815 | 815 | $ hg log -l1 -T '{file_dels}\n' |
|
816 | a fourth | |
|
816 | ||
|
817 | 817 | |
|
818 | 818 | Test file copies dict: |
|
819 | 819 |
General Comments 0
You need to be logged in to leave comments.
Login now