Show More
@@ -33,7 +33,7 b" GRANDPARENT = 'G'" | |||||
33 | MISSINGPARENT = 'M' |
|
33 | MISSINGPARENT = 'M' | |
34 | # Style of line to draw. None signals a line that ends and is removed at this |
|
34 | # Style of line to draw. None signals a line that ends and is removed at this | |
35 | # point. |
|
35 | # point. | |
36 |
EDGES = {PARENT: '|', GRANDPARENT: ' |
|
36 | EDGES = {PARENT: '|', GRANDPARENT: ':', MISSINGPARENT: None} | |
37 |
|
37 | |||
38 | def groupbranchiter(revs, parentsfunc, firstbranch=()): |
|
38 | def groupbranchiter(revs, parentsfunc, firstbranch=()): | |
39 | """Yield revisions from heads to roots one (topo) branch at a time. |
|
39 | """Yield revisions from heads to roots one (topo) branch at a time. |
@@ -540,10 +540,10 b' Amend with no files changes' | |||||
540 | | |
|
540 | | | |
541 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test |
|
541 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test | |
542 | | | fork |
|
542 | | | fork | |
543 |
| |
|
543 | | ~ | |
544 |
o |
|
544 | o 11 3334b7925910 1970-01-01 00:00 +0000 test | |
545 |
|
|
545 | | a'' | |
546 | | | |
|
546 | ~ | |
547 | $ hg log -Gl 4 --hidden --style=compact |
|
547 | $ hg log -Gl 4 --hidden --style=compact | |
548 | @ 14[tip]:11 b650e6ee8614 1970-01-01 00:00 +0000 test |
|
548 | @ 14[tip]:11 b650e6ee8614 1970-01-01 00:00 +0000 test | |
549 | | babar |
|
549 | | babar | |
@@ -553,10 +553,10 b' Amend with no files changes' | |||||
553 | | |
|
553 | | | |
554 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test |
|
554 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test | |
555 | | | fork |
|
555 | | | fork | |
556 |
| |
|
556 | | ~ | |
557 |
o |
|
557 | o 11 3334b7925910 1970-01-01 00:00 +0000 test | |
558 |
|
|
558 | | a'' | |
559 | | | |
|
559 | ~ | |
560 |
|
560 | |||
561 | Amend with files changes |
|
561 | Amend with files changes | |
562 |
|
562 | |||
@@ -580,10 +580,10 b' ride of)' | |||||
580 | | |
|
580 | | | |
581 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test |
|
581 | | o 12:0 2647734878ef 1970-01-01 00:00 +0000 test | |
582 | | | fork |
|
582 | | | fork | |
583 |
| |
|
583 | | ~ | |
584 |
o |
|
584 | o 11 3334b7925910 1970-01-01 00:00 +0000 test | |
585 |
| |
|
585 | | a'' | |
586 | | | |
|
586 | ~ | |
587 |
|
587 | |||
588 |
|
588 | |||
589 | Test that amend does not make it easy to create obsolescence cycle |
|
589 | Test that amend does not make it easy to create obsolescence cycle |
@@ -371,6 +371,7 b' More source changes' | |||||
371 | |/ |
|
371 | |/ | |
372 | o 6 0613c8e59a3d (public) "6: change a" files: a |
|
372 | o 6 0613c8e59a3d (public) "6: change a" files: a | |
373 | | |
|
373 | | | |
|
374 | ~ | |||
374 | $ cd .. |
|
375 | $ cd .. | |
375 |
|
376 | |||
376 | $ hg convert --filemap filemap source dest --config convert.hg.revs=3: |
|
377 | $ hg convert --filemap filemap source dest --config convert.hg.revs=3: |
@@ -156,11 +156,11 b' Verify we duplicate existing copies, ins' | |||||
156 |
|
156 | |||
157 | $ hg log -G -f b |
|
157 | $ hg log -G -f b | |
158 | @ changeset: 3:76024fb4b05b |
|
158 | @ changeset: 3:76024fb4b05b | |
159 |
|
|
159 | : tag: tip | |
160 |
|
|
160 | : user: test | |
161 |
|
|
161 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
162 |
|
|
162 | : summary: copy a->b (2) | |
163 |
|
|
163 | : | |
164 | o changeset: 0:ac82d8b1f7c4 |
|
164 | o changeset: 0:ac82d8b1f7c4 | |
165 | user: test |
|
165 | user: test | |
166 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
166 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -66,11 +66,11 b' later.' | |||||
66 | o 8 |
|
66 | o 8 | |
67 | | |
|
67 | | | |
68 | o 3 |
|
68 | o 3 | |
69 |
|
|
69 | : | |
70 | o 1 |
|
70 | o 1 | |
71 | | |
|
71 | | | |
72 | | o 7 |
|
72 | | o 7 | |
73 |
| |
|
73 | | : | |
74 | | o 5 |
|
74 | | o 5 | |
75 | | | |
|
75 | | | | |
76 | | o 4 |
|
76 | | o 4 |
This diff has been collapsed as it changes many lines, (626 lines changed) Show them Hide them | |||||
@@ -940,193 +940,193 b' File glog per revset (only merges):' | |||||
940 | $ hg log -G -r 'file("a")' -m |
|
940 | $ hg log -G -r 'file("a")' -m | |
941 | o changeset: 32:d06dffa21a31 |
|
941 | o changeset: 32:d06dffa21a31 | |
942 | |\ parent: 27:886ed638191b |
|
942 | |\ parent: 27:886ed638191b | |
943 |
| |
|
943 | | : parent: 31:621d83e11f67 | |
944 |
| |
|
944 | | : user: test | |
945 |
| |
|
945 | | : date: Thu Jan 01 00:00:32 1970 +0000 | |
946 |
| |
|
946 | | : summary: (32) expand | |
|
947 | | : | |||
|
948 | o : changeset: 31:621d83e11f67 | |||
|
949 | |\: parent: 21:d42a756af44d | |||
|
950 | | : parent: 30:6e11cd4b648f | |||
|
951 | | : user: test | |||
|
952 | | : date: Thu Jan 01 00:00:31 1970 +0000 | |||
|
953 | | : summary: (31) expand | |||
|
954 | | : | |||
|
955 | o : changeset: 30:6e11cd4b648f | |||
|
956 | |\ \ parent: 28:44ecd0b9ae99 | |||
|
957 | | ~ : parent: 29:cd9bb2be7593 | |||
|
958 | | : user: test | |||
|
959 | | : date: Thu Jan 01 00:00:30 1970 +0000 | |||
|
960 | | : summary: (30) expand | |||
|
961 | | / | |||
|
962 | o : changeset: 28:44ecd0b9ae99 | |||
|
963 | |\ \ parent: 1:6db2ef61d156 | |||
|
964 | | ~ : parent: 26:7f25b6c2f0b9 | |||
|
965 | | : user: test | |||
|
966 | | : date: Thu Jan 01 00:00:28 1970 +0000 | |||
|
967 | | : summary: (28) merge zero known | |||
|
968 | | / | |||
|
969 | o : changeset: 26:7f25b6c2f0b9 | |||
|
970 | |\ \ parent: 18:1aa84d96232a | |||
|
971 | | | : parent: 25:91da8ed57247 | |||
|
972 | | | : user: test | |||
|
973 | | | : date: Thu Jan 01 00:00:26 1970 +0000 | |||
|
974 | | | : summary: (26) merge one known; far right | |||
|
975 | | | : | |||
|
976 | | o : changeset: 25:91da8ed57247 | |||
|
977 | | |\: parent: 21:d42a756af44d | |||
|
978 | | | : parent: 24:a9c19a3d96b7 | |||
|
979 | | | : user: test | |||
|
980 | | | : date: Thu Jan 01 00:00:25 1970 +0000 | |||
|
981 | | | : summary: (25) merge one known; far left | |||
|
982 | | | : | |||
|
983 | | o : changeset: 24:a9c19a3d96b7 | |||
|
984 | | |\ \ parent: 0:e6eb3150255d | |||
|
985 | | | ~ : parent: 23:a01cddf0766d | |||
|
986 | | | : user: test | |||
|
987 | | | : date: Thu Jan 01 00:00:24 1970 +0000 | |||
|
988 | | | : summary: (24) merge one known; immediate right | |||
|
989 | | | / | |||
|
990 | | o : changeset: 23:a01cddf0766d | |||
|
991 | | |\ \ parent: 1:6db2ef61d156 | |||
|
992 | | | ~ : parent: 22:e0d9cccacb5d | |||
|
993 | | | : user: test | |||
|
994 | | | : date: Thu Jan 01 00:00:23 1970 +0000 | |||
|
995 | | | : summary: (23) merge one known; immediate left | |||
|
996 | | | / | |||
|
997 | | o : changeset: 22:e0d9cccacb5d | |||
|
998 | |/:/ parent: 18:1aa84d96232a | |||
|
999 | | : parent: 21:d42a756af44d | |||
|
1000 | | : user: test | |||
|
1001 | | : date: Thu Jan 01 00:00:22 1970 +0000 | |||
|
1002 | | : summary: (22) merge two known; one far left, one far right | |||
|
1003 | | : | |||
|
1004 | | o changeset: 21:d42a756af44d | |||
|
1005 | | |\ parent: 19:31ddc2c1573b | |||
|
1006 | | | | parent: 20:d30ed6450e32 | |||
|
1007 | | | | user: test | |||
|
1008 | | | | date: Thu Jan 01 00:00:21 1970 +0000 | |||
|
1009 | | | | summary: (21) expand | |||
|
1010 | | | | | |||
|
1011 | +---o changeset: 20:d30ed6450e32 | |||
|
1012 | | | | parent: 0:e6eb3150255d | |||
|
1013 | | | ~ parent: 18:1aa84d96232a | |||
|
1014 | | | user: test | |||
|
1015 | | | date: Thu Jan 01 00:00:20 1970 +0000 | |||
|
1016 | | | summary: (20) merge two known; two far right | |||
947 | | | |
|
1017 | | | | |
948 |
o |
|
1018 | | o changeset: 19:31ddc2c1573b | |
949 | |\| parent: 21:d42a756af44d |
|
1019 | | |\ parent: 15:1dda3f72782d | |
950 |
| | parent: |
|
1020 | | | | parent: 17:44765d7c06e0 | |
951 | | | user: test |
|
|||
952 | | | date: Thu Jan 01 00:00:31 1970 +0000 |
|
|||
953 | | | summary: (31) expand |
|
|||
954 | | | |
|
|||
955 | o | changeset: 30:6e11cd4b648f |
|
|||
956 | |\ \ parent: 28:44ecd0b9ae99 |
|
|||
957 | | | | parent: 29:cd9bb2be7593 |
|
|||
958 | | | | user: test |
|
1021 | | | | user: test | |
959 |
| | | date: Thu Jan 01 00:00: |
|
1022 | | | | date: Thu Jan 01 00:00:19 1970 +0000 | |
960 |
| | | summary: ( |
|
1023 | | | | summary: (19) expand | |
961 | | | | |
|
1024 | | | | | |
962 |
o | | |
|
1025 | o | | changeset: 18:1aa84d96232a | |
963 |
|\ |
|
1026 | |\| | parent: 1:6db2ef61d156 | |
964 |
|
|
1027 | ~ | | parent: 15:1dda3f72782d | |
965 |
|
|
1028 | | | user: test | |
966 |
|
|
1029 | | | date: Thu Jan 01 00:00:18 1970 +0000 | |
967 |
|
|
1030 | | | summary: (18) merge two known; two far left | |
968 | | | | | |
|
1031 | / / | |
969 |
|
|
1032 | | o changeset: 17:44765d7c06e0 | |
970 |
| |
|
1033 | | |\ parent: 12:86b91144a6e9 | |
971 |
|
|
1034 | | | | parent: 16:3677d192927d | |
972 |
|
|
1035 | | | | user: test | |
973 |
|
|
1036 | | | | date: Thu Jan 01 00:00:17 1970 +0000 | |
974 |
|
|
1037 | | | | summary: (17) expand | |
975 |
| | | |
|
1038 | | | | | |
976 | | o-----+ changeset: 25:91da8ed57247 |
|
1039 | | | o changeset: 16:3677d192927d | |
977 |
| | | |
|
1040 | | | |\ parent: 0:e6eb3150255d | |
978 |
| | |
|
1041 | | | ~ ~ parent: 1:6db2ef61d156 | |
979 |
| | |
|
1042 | | | user: test | |
980 |
| | |
|
1043 | | | date: Thu Jan 01 00:00:16 1970 +0000 | |
981 |
| | |
|
1044 | | | summary: (16) merge two known; one immediate right, one near right | |
982 |
| | |
|
1045 | | | | |
983 |
|
|
1046 | o | changeset: 15:1dda3f72782d | |
984 |
| |
|
1047 | |\ \ parent: 13:22d8966a97e3 | |
985 |
|
|
1048 | | | | parent: 14:8eac370358ef | |
986 |
|
|
1049 | | | | user: test | |
987 |
|
|
1050 | | | | date: Thu Jan 01 00:00:15 1970 +0000 | |
988 | | | | | | | summary: (24) merge one known; immediate right |
|
1051 | | | | summary: (15) expand | |
989 |
| | | |
|
1052 | | | | | |
990 |
| o |
|
1053 | | o | changeset: 14:8eac370358ef | |
991 |
| | |
|
1054 | | |\| parent: 0:e6eb3150255d | |
992 |
| |
|
1055 | | ~ | parent: 12:86b91144a6e9 | |
993 |
| |
|
1056 | | | user: test | |
994 |
| |
|
1057 | | | date: Thu Jan 01 00:00:14 1970 +0000 | |
995 |
| |
|
1058 | | | summary: (14) merge two known; one immediate right, one far right | |
996 | | | | | | | |
|
1059 | | / | |
997 | | o-------+ changeset: 22:e0d9cccacb5d |
|
1060 | o | changeset: 13:22d8966a97e3 | |
998 |
| |
|
1061 | |\ \ parent: 9:7010c0af0a35 | |
999 |
| |
|
1062 | | | | parent: 11:832d76e6bdf2 | |
1000 |
| | | |
|
1063 | | | | user: test | |
1001 |
| | | |
|
1064 | | | | date: Thu Jan 01 00:00:13 1970 +0000 | |
1002 | | | | | | summary: (22) merge two known; one far left, one far right |
|
1065 | | | | summary: (13) expand | |
1003 |
| | | |
|
1066 | | | | | |
1004 | | | | | o changeset: 21:d42a756af44d |
|
1067 | +---o changeset: 12:86b91144a6e9 | |
1005 |
| | | |
|
1068 | | | | parent: 1:6db2ef61d156 | |
1006 |
| | |
|
1069 | | | ~ parent: 9:7010c0af0a35 | |
1007 |
| | |
|
1070 | | | user: test | |
1008 |
| | |
|
1071 | | | date: Thu Jan 01 00:00:12 1970 +0000 | |
1009 | | | | | | | summary: (21) expand |
|
1072 | | | summary: (12) merge two known; one immediate right, one far left | |
1010 | | | | | | | |
|
1073 | | | | |
1011 | +-+-------o changeset: 20:d30ed6450e32 |
|
1074 | | o changeset: 11:832d76e6bdf2 | |
1012 |
| | |
|
1075 | | |\ parent: 6:b105a072e251 | |
1013 |
| | | |
|
1076 | | | | parent: 10:74c64d036d72 | |
1014 |
| | | |
|
1077 | | | | user: test | |
1015 |
| | | |
|
1078 | | | | date: Thu Jan 01 00:00:11 1970 +0000 | |
1016 | | | | | | summary: (20) merge two known; two far right |
|
1079 | | | | summary: (11) expand | |
1017 |
| | | |
|
1080 | | | | | |
1018 |
| | |
|
1081 | | | o changeset: 10:74c64d036d72 | |
1019 |
| | |
|
1082 | | |/| parent: 0:e6eb3150255d | |
1020 |
| | |
|
1083 | | | ~ parent: 6:b105a072e251 | |
1021 |
| | |
|
1084 | | | user: test | |
1022 |
| | |
|
1085 | | | date: Thu Jan 01 00:00:10 1970 +0000 | |
1023 | | | | | | | summary: (19) expand |
|
1086 | | | summary: (10) merge two known; one immediate left, one near right | |
1024 | | | | | | | |
|
1087 | | | | |
1025 |
o |
|
1088 | o | changeset: 9:7010c0af0a35 | |
1026 | | | | | | parent: 1:6db2ef61d156 |
|
1089 | |\ \ parent: 7:b632bb1b1224 | |
1027 |
|
|
1090 | | | | parent: 8:7a0b11f71937 | |
1028 |
| | | |
|
1091 | | | | user: test | |
1029 |
| | | |
|
1092 | | | | date: Thu Jan 01 00:00:09 1970 +0000 | |
1030 | | | | | | summary: (18) merge two known; two far left |
|
1093 | | | | summary: (9) expand | |
1031 |
| | | |
|
1094 | | | | | |
1032 |
| |
|
1095 | | o | changeset: 8:7a0b11f71937 | |
1033 |
| |
|
1096 | |/| | parent: 0:e6eb3150255d | |
1034 |
| |
|
1097 | | ~ | parent: 7:b632bb1b1224 | |
1035 |
| |
|
1098 | | | user: test | |
1036 |
| |
|
1099 | | | date: Thu Jan 01 00:00:08 1970 +0000 | |
1037 | | | | | | | summary: (17) expand |
|
1100 | | | summary: (8) merge two known; one immediate left, one far right | |
1038 | | | | | | | |
|
1101 | | / | |
1039 | +-+-------o changeset: 16:3677d192927d |
|
1102 | o | changeset: 7:b632bb1b1224 | |
1040 | | | | | | parent: 0:e6eb3150255d |
|
1103 | |\ \ parent: 2:3d9a33b8d1e1 | |
1041 |
| |
|
1104 | | ~ | parent: 5:4409d547b708 | |
1042 |
| | |
|
1105 | | | user: test | |
1043 |
| | |
|
1106 | | | date: Thu Jan 01 00:00:07 1970 +0000 | |
1044 | | | | | | summary: (16) merge two known; one immediate right, one near right |
|
1107 | | | summary: (7) expand | |
1045 | | | | | | |
|
1108 | | / | |
1046 |
| |
|
1109 | | o changeset: 6:b105a072e251 | |
1047 | | | | |\ \ parent: 13:22d8966a97e3 |
|
1110 | |/| parent: 2:3d9a33b8d1e1 | |
1048 | | | | | | | parent: 14:8eac370358ef |
|
1111 | | ~ parent: 5:4409d547b708 | |
1049 |
| |
|
1112 | | user: test | |
1050 |
| |
|
1113 | | date: Thu Jan 01 00:00:06 1970 +0000 | |
1051 | | | | | | | summary: (15) expand |
|
1114 | | summary: (6) merge two known; one immediate left, one far left | |
1052 | | | | | | | |
|
1115 | | | |
1053 | +-------o | changeset: 14:8eac370358ef |
|
1116 | o changeset: 5:4409d547b708 | |
1054 | | | | | |/ parent: 0:e6eb3150255d |
|
1117 | |\ parent: 3:27eef8ed80b4 | |
1055 |
| |
|
1118 | | ~ parent: 4:26a8bac39d9f | |
1056 |
|
|
1119 | | user: test | |
1057 |
|
|
1120 | | date: Thu Jan 01 00:00:05 1970 +0000 | |
1058 | | | | | | summary: (14) merge two known; one immediate right, one far right |
|
1121 | | summary: (5) expand | |
1059 | | | | | | |
|
1122 | | | |
1060 |
|
|
1123 | o changeset: 4:26a8bac39d9f | |
1061 |
| |
|
1124 | |\ parent: 1:6db2ef61d156 | |
1062 | | | | | | | parent: 11:832d76e6bdf2 |
|
1125 | ~ ~ parent: 3:27eef8ed80b4 | |
1063 |
|
|
1126 | user: test | |
1064 |
|
|
1127 | date: Thu Jan 01 00:00:04 1970 +0000 | |
1065 | | | | | | | summary: (13) expand |
|
1128 | summary: (4) merge two known; one immediate left, one immediate right | |
1066 | | | | | | | |
|
1129 | ||
1067 | | +---+---o changeset: 12:86b91144a6e9 |
|
|||
1068 | | | | | | parent: 1:6db2ef61d156 |
|
|||
1069 | | | | | | parent: 9:7010c0af0a35 |
|
|||
1070 | | | | | | user: test |
|
|||
1071 | | | | | | date: Thu Jan 01 00:00:12 1970 +0000 |
|
|||
1072 | | | | | | summary: (12) merge two known; one immediate right, one far left |
|
|||
1073 | | | | | | |
|
|||
1074 | | | | | o changeset: 11:832d76e6bdf2 |
|
|||
1075 | | | | | |\ parent: 6:b105a072e251 |
|
|||
1076 | | | | | | | parent: 10:74c64d036d72 |
|
|||
1077 | | | | | | | user: test |
|
|||
1078 | | | | | | | date: Thu Jan 01 00:00:11 1970 +0000 |
|
|||
1079 | | | | | | | summary: (11) expand |
|
|||
1080 | | | | | | | |
|
|||
1081 | +---------o changeset: 10:74c64d036d72 |
|
|||
1082 | | | | | |/ parent: 0:e6eb3150255d |
|
|||
1083 | | | | | | parent: 6:b105a072e251 |
|
|||
1084 | | | | | | user: test |
|
|||
1085 | | | | | | date: Thu Jan 01 00:00:10 1970 +0000 |
|
|||
1086 | | | | | | summary: (10) merge two known; one immediate left, one near right |
|
|||
1087 | | | | | | |
|
|||
1088 | | | | o | changeset: 9:7010c0af0a35 |
|
|||
1089 | | | | |\ \ parent: 7:b632bb1b1224 |
|
|||
1090 | | | | | | | parent: 8:7a0b11f71937 |
|
|||
1091 | | | | | | | user: test |
|
|||
1092 | | | | | | | date: Thu Jan 01 00:00:09 1970 +0000 |
|
|||
1093 | | | | | | | summary: (9) expand |
|
|||
1094 | | | | | | | |
|
|||
1095 | +-------o | changeset: 8:7a0b11f71937 |
|
|||
1096 | | | | |/ / parent: 0:e6eb3150255d |
|
|||
1097 | | | | | | parent: 7:b632bb1b1224 |
|
|||
1098 | | | | | | user: test |
|
|||
1099 | | | | | | date: Thu Jan 01 00:00:08 1970 +0000 |
|
|||
1100 | | | | | | summary: (8) merge two known; one immediate left, one far right |
|
|||
1101 | | | | | | |
|
|||
1102 | | | | o | changeset: 7:b632bb1b1224 |
|
|||
1103 | | | | |\ \ parent: 2:3d9a33b8d1e1 |
|
|||
1104 | | | | | | | parent: 5:4409d547b708 |
|
|||
1105 | | | | | | | user: test |
|
|||
1106 | | | | | | | date: Thu Jan 01 00:00:07 1970 +0000 |
|
|||
1107 | | | | | | | summary: (7) expand |
|
|||
1108 | | | | | | | |
|
|||
1109 | | | | +---o changeset: 6:b105a072e251 |
|
|||
1110 | | | | | |/ parent: 2:3d9a33b8d1e1 |
|
|||
1111 | | | | | | parent: 5:4409d547b708 |
|
|||
1112 | | | | | | user: test |
|
|||
1113 | | | | | | date: Thu Jan 01 00:00:06 1970 +0000 |
|
|||
1114 | | | | | | summary: (6) merge two known; one immediate left, one far left |
|
|||
1115 | | | | | | |
|
|||
1116 | | | | o | changeset: 5:4409d547b708 |
|
|||
1117 | | | | |\ \ parent: 3:27eef8ed80b4 |
|
|||
1118 | | | | | | | parent: 4:26a8bac39d9f |
|
|||
1119 | | | | | | | user: test |
|
|||
1120 | | | | | | | date: Thu Jan 01 00:00:05 1970 +0000 |
|
|||
1121 | | | | | | | summary: (5) expand |
|
|||
1122 | | | | | | | |
|
|||
1123 | | +---o | | changeset: 4:26a8bac39d9f |
|
|||
1124 | | | | |/ / parent: 1:6db2ef61d156 |
|
|||
1125 | | | | | | parent: 3:27eef8ed80b4 |
|
|||
1126 | | | | | | user: test |
|
|||
1127 | | | | | | date: Thu Jan 01 00:00:04 1970 +0000 |
|
|||
1128 | | | | | | summary: (4) merge two known; one immediate left, one immediate right |
|
|||
1129 | | | | | | |
|
|||
1130 |
|
1130 | |||
1131 |
|
1131 | |||
1132 | Empty revision range - display nothing: |
|
1132 | Empty revision range - display nothing: | |
@@ -1140,19 +1140,19 b' From outer space:' | |||||
1140 | $ hg log -G -l1 repo |
|
1140 | $ hg log -G -l1 repo | |
1141 | @ changeset: 34:fea3ac5810e0 |
|
1141 | @ changeset: 34:fea3ac5810e0 | |
1142 | | tag: tip |
|
1142 | | tag: tip | |
1143 |
|
|
1143 | ~ parent: 32:d06dffa21a31 | |
1144 |
|
|
1144 | user: test | |
1145 |
|
|
1145 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1146 |
|
|
1146 | summary: (34) head | |
1147 |
|
|
1147 | ||
1148 | $ hg log -G -l1 repo/a |
|
1148 | $ hg log -G -l1 repo/a | |
1149 | @ changeset: 34:fea3ac5810e0 |
|
1149 | @ changeset: 34:fea3ac5810e0 | |
1150 | | tag: tip |
|
1150 | | tag: tip | |
1151 |
|
|
1151 | ~ parent: 32:d06dffa21a31 | |
1152 |
|
|
1152 | user: test | |
1153 |
|
|
1153 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1154 |
|
|
1154 | summary: (34) head | |
1155 |
|
|
1155 | ||
1156 | $ hg log -G -l1 repo/missing |
|
1156 | $ hg log -G -l1 repo/missing | |
1157 |
|
1157 | |||
1158 | #endif |
|
1158 | #endif | |
@@ -1177,9 +1177,9 b' File log with revs != cset revs:' | |||||
1177 | | |
|
1177 | | | |
1178 | o changeset: 1:5ac72c0599bf |
|
1178 | o changeset: 1:5ac72c0599bf | |
1179 | | user: test |
|
1179 | | user: test | |
1180 |
|
|
1180 | ~ date: Thu Jan 01 00:00:00 1970 +0000 | |
1181 |
|
|
1181 | summary: two | |
1182 |
|
|
1182 | ||
1183 |
|
1183 | |||
1184 | Issue1896: File log with explicit style |
|
1184 | Issue1896: File log with explicit style | |
1185 | $ hg log -G --style=default one |
|
1185 | $ hg log -G --style=default one | |
@@ -1278,16 +1278,16 b' File + limit with revs != cset revs:' | |||||
1278 | $ hg log -G -l2 a |
|
1278 | $ hg log -G -l2 a | |
1279 | o changeset: 34:fea3ac5810e0 |
|
1279 | o changeset: 34:fea3ac5810e0 | |
1280 | | parent: 32:d06dffa21a31 |
|
1280 | | parent: 32:d06dffa21a31 | |
1281 |
|
|
1281 | ~ user: test | |
1282 |
|
|
1282 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1283 |
|
|
1283 | summary: (34) head | |
1284 |
|
|
1284 | ||
1285 |
|
|
1285 | o changeset: 33:68608f5145f9 | |
1286 |
|
|
1286 | | parent: 18:1aa84d96232a | |
1287 |
|
|
1287 | ~ user: test | |
1288 |
|
|
1288 | date: Thu Jan 01 00:00:33 1970 +0000 | |
1289 |
|
|
1289 | summary: (33) head | |
1290 | | | |
|
1290 | ||
1291 |
|
1291 | |||
1292 | File + limit + -ra:b, (b - a) < limit: |
|
1292 | File + limit + -ra:b, (b - a) < limit: | |
1293 | $ hg log -G -l3000 -r32:tip a |
|
1293 | $ hg log -G -l3000 -r32:tip a | |
@@ -1299,66 +1299,66 b' File + limit + -ra:b, (b - a) < limit:' | |||||
1299 | | |
|
1299 | | | |
1300 | | o changeset: 33:68608f5145f9 |
|
1300 | | o changeset: 33:68608f5145f9 | |
1301 | | | parent: 18:1aa84d96232a |
|
1301 | | | parent: 18:1aa84d96232a | |
1302 |
| |
|
1302 | | ~ user: test | |
1303 |
| |
|
1303 | | date: Thu Jan 01 00:00:33 1970 +0000 | |
1304 |
| |
|
1304 | | summary: (33) head | |
1305 |
| |
|
1305 | | | |
1306 |
o |
|
1306 | o changeset: 32:d06dffa21a31 | |
1307 |
| |
|
1307 | |\ parent: 27:886ed638191b | |
1308 |
|
|
1308 | ~ ~ parent: 31:621d83e11f67 | |
1309 |
|
|
1309 | user: test | |
1310 |
|
|
1310 | date: Thu Jan 01 00:00:32 1970 +0000 | |
1311 |
|
|
1311 | summary: (32) expand | |
1312 | | | | |
|
1312 | ||
1313 |
|
1313 | |||
1314 | Point out a common and an uncommon unshown parent |
|
1314 | Point out a common and an uncommon unshown parent | |
1315 |
|
1315 | |||
1316 | $ hg log -G -r 'rev(8) or rev(9)' |
|
1316 | $ hg log -G -r 'rev(8) or rev(9)' | |
1317 | o changeset: 9:7010c0af0a35 |
|
1317 | o changeset: 9:7010c0af0a35 | |
1318 | |\ parent: 7:b632bb1b1224 |
|
1318 | |\ parent: 7:b632bb1b1224 | |
1319 |
| |
|
1319 | | ~ parent: 8:7a0b11f71937 | |
1320 |
| |
|
1320 | | user: test | |
1321 |
| |
|
1321 | | date: Thu Jan 01 00:00:09 1970 +0000 | |
1322 |
| |
|
1322 | | summary: (9) expand | |
1323 |
| |
|
1323 | | | |
1324 |
o |
|
1324 | o changeset: 8:7a0b11f71937 | |
1325 |
|\ |
|
1325 | |\ parent: 0:e6eb3150255d | |
1326 |
|
|
1326 | ~ ~ parent: 7:b632bb1b1224 | |
1327 |
|
|
1327 | user: test | |
1328 |
|
|
1328 | date: Thu Jan 01 00:00:08 1970 +0000 | |
1329 |
|
|
1329 | summary: (8) merge two known; one immediate left, one far right | |
1330 | | | |
|
1330 | ||
1331 |
|
1331 | |||
1332 | File + limit + -ra:b, b < tip: |
|
1332 | File + limit + -ra:b, b < tip: | |
1333 |
|
1333 | |||
1334 | $ hg log -G -l1 -r32:34 a |
|
1334 | $ hg log -G -l1 -r32:34 a | |
1335 | o changeset: 34:fea3ac5810e0 |
|
1335 | o changeset: 34:fea3ac5810e0 | |
1336 | | parent: 32:d06dffa21a31 |
|
1336 | | parent: 32:d06dffa21a31 | |
1337 |
|
|
1337 | ~ user: test | |
1338 |
|
|
1338 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1339 |
|
|
1339 | summary: (34) head | |
1340 |
|
|
1340 | ||
1341 |
|
1341 | |||
1342 | file(File) + limit + -ra:b, b < tip: |
|
1342 | file(File) + limit + -ra:b, b < tip: | |
1343 |
|
1343 | |||
1344 | $ hg log -G -l1 -r32:34 -r 'file("a")' |
|
1344 | $ hg log -G -l1 -r32:34 -r 'file("a")' | |
1345 | o changeset: 34:fea3ac5810e0 |
|
1345 | o changeset: 34:fea3ac5810e0 | |
1346 | | parent: 32:d06dffa21a31 |
|
1346 | | parent: 32:d06dffa21a31 | |
1347 |
|
|
1347 | ~ user: test | |
1348 |
|
|
1348 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1349 |
|
|
1349 | summary: (34) head | |
1350 |
|
|
1350 | ||
1351 |
|
1351 | |||
1352 | limit(file(File) and a::b), b < tip: |
|
1352 | limit(file(File) and a::b), b < tip: | |
1353 |
|
1353 | |||
1354 | $ hg log -G -r 'limit(file("a") and 32::34, 1)' |
|
1354 | $ hg log -G -r 'limit(file("a") and 32::34, 1)' | |
1355 | o changeset: 32:d06dffa21a31 |
|
1355 | o changeset: 32:d06dffa21a31 | |
1356 | |\ parent: 27:886ed638191b |
|
1356 | |\ parent: 27:886ed638191b | |
1357 |
|
|
1357 | ~ ~ parent: 31:621d83e11f67 | |
1358 |
|
|
1358 | user: test | |
1359 |
|
|
1359 | date: Thu Jan 01 00:00:32 1970 +0000 | |
1360 |
|
|
1360 | summary: (32) expand | |
1361 | | | |
|
1361 | ||
1362 |
|
1362 | |||
1363 | File + limit + -ra:b, b < tip: |
|
1363 | File + limit + -ra:b, b < tip: | |
1364 |
|
1364 | |||
@@ -1369,16 +1369,16 b' File + limit + -ra:b, b < tip, (b - a) <' | |||||
1369 | $ hg log -G -l10 -r33:34 a |
|
1369 | $ hg log -G -l10 -r33:34 a | |
1370 | o changeset: 34:fea3ac5810e0 |
|
1370 | o changeset: 34:fea3ac5810e0 | |
1371 | | parent: 32:d06dffa21a31 |
|
1371 | | parent: 32:d06dffa21a31 | |
1372 |
|
|
1372 | ~ user: test | |
1373 |
|
|
1373 | date: Thu Jan 01 00:00:34 1970 +0000 | |
1374 |
|
|
1374 | summary: (34) head | |
1375 |
|
|
1375 | ||
1376 |
|
|
1376 | o changeset: 33:68608f5145f9 | |
1377 |
|
|
1377 | | parent: 18:1aa84d96232a | |
1378 |
|
|
1378 | ~ user: test | |
1379 |
|
|
1379 | date: Thu Jan 01 00:00:33 1970 +0000 | |
1380 |
|
|
1380 | summary: (33) head | |
1381 | | | |
|
1381 | ||
1382 |
|
1382 | |||
1383 | Do not crash or produce strange graphs if history is buggy |
|
1383 | Do not crash or produce strange graphs if history is buggy | |
1384 |
|
1384 | |||
@@ -1409,17 +1409,17 b' Do not crash or produce strange graphs i' | |||||
1409 | | |
|
1409 | | | |
1410 | | o changeset: 33:68608f5145f9 |
|
1410 | | o changeset: 33:68608f5145f9 | |
1411 | | | parent: 18:1aa84d96232a |
|
1411 | | | parent: 18:1aa84d96232a | |
1412 |
| |
|
1412 | | ~ user: test | |
1413 |
| |
|
1413 | | date: Thu Jan 01 00:00:33 1970 +0000 | |
1414 |
| |
|
1414 | | summary: (33) head | |
1415 |
| |
|
1415 | | | |
1416 |
o |
|
1416 | o changeset: 32:d06dffa21a31 | |
1417 |
| |
|
1417 | |\ parent: 27:886ed638191b | |
1418 |
|
|
1418 | ~ ~ parent: 31:621d83e11f67 | |
1419 |
|
|
1419 | user: test | |
1420 |
|
|
1420 | date: Thu Jan 01 00:00:32 1970 +0000 | |
1421 |
|
|
1421 | summary: (32) expand | |
1422 | | | | |
|
1422 | ||
1423 |
|
1423 | |||
1424 | Test log -G options |
|
1424 | Test log -G options | |
1425 |
|
1425 | |||
@@ -1796,8 +1796,10 b' Cannot compare with log --follow-first F' | |||||
1796 | $ hg log -G --follow-first e --template '{rev} {desc|firstline}\n' |
|
1796 | $ hg log -G --follow-first e --template '{rev} {desc|firstline}\n' | |
1797 | @ 6 merge 5 and 4 |
|
1797 | @ 6 merge 5 and 4 | |
1798 | |\ |
|
1798 | |\ | |
1799 | o | 5 add another e |
|
1799 | | ~ | |
1800 | | | |
|
1800 | o 5 add another e | |
|
1801 | | | |||
|
1802 | ~ | |||
1801 |
|
1803 | |||
1802 | Test --copies |
|
1804 | Test --copies | |
1803 |
|
1805 | |||
@@ -1876,23 +1878,23 b' Test --patch and --stat with --follow an' | |||||
1876 | $ hg log -G --git --patch b |
|
1878 | $ hg log -G --git --patch b | |
1877 | o changeset: 1:216d4c92cf98 |
|
1879 | o changeset: 1:216d4c92cf98 | |
1878 | | user: test |
|
1880 | | user: test | |
1879 |
|
|
1881 | ~ date: Thu Jan 01 00:00:00 1970 +0000 | |
1880 |
|
|
1882 | summary: copy a b | |
1881 |
|
|
1883 | ||
1882 |
|
|
1884 | diff --git a/a b/b | |
1883 |
|
|
1885 | copy from a | |
1884 |
|
|
1886 | copy to b | |
1885 |
|
|
1887 | ||
1886 |
|
1888 | |||
1887 | $ hg log -G --git --stat b |
|
1889 | $ hg log -G --git --stat b | |
1888 | o changeset: 1:216d4c92cf98 |
|
1890 | o changeset: 1:216d4c92cf98 | |
1889 | | user: test |
|
1891 | | user: test | |
1890 |
|
|
1892 | ~ date: Thu Jan 01 00:00:00 1970 +0000 | |
1891 |
|
|
1893 | summary: copy a b | |
1892 |
|
|
1894 | ||
1893 |
|
|
1895 | b | 0 | |
1894 |
|
|
1896 | 1 files changed, 0 insertions(+), 0 deletions(-) | |
1895 |
|
|
1897 | ||
1896 |
|
1898 | |||
1897 | $ hg log -G --git --patch --follow b |
|
1899 | $ hg log -G --git --patch --follow b | |
1898 | o changeset: 1:216d4c92cf98 |
|
1900 | o changeset: 1:216d4c92cf98 | |
@@ -1939,32 +1941,32 b' Test --patch and --stat with --follow an' | |||||
1939 | $ hg log -G --git --patch --follow-first e |
|
1941 | $ hg log -G --git --patch --follow-first e | |
1940 | @ changeset: 6:fc281d8ff18d |
|
1942 | @ changeset: 6:fc281d8ff18d | |
1941 | |\ tag: tip |
|
1943 | |\ tag: tip | |
1942 |
| |
|
1944 | | ~ parent: 5:99b31f1c2782 | |
1943 |
| |
|
1945 | | parent: 4:17d952250a9d | |
1944 |
| |
|
1946 | | user: test | |
1945 |
| |
|
1947 | | date: Thu Jan 01 00:00:00 1970 +0000 | |
1946 |
| |
|
1948 | | summary: merge 5 and 4 | |
1947 |
| |
|
1949 | | | |
1948 |
| |
|
1950 | | diff --git a/e b/e | |
1949 |
| |
|
1951 | | --- a/e | |
1950 |
| |
|
1952 | | +++ b/e | |
1951 |
| |
|
1953 | | @@ -1,1 +1,1 @@ | |
1952 |
| |
|
1954 | | -ee | |
1953 |
| |
|
1955 | | +merge | |
1954 |
| |
|
1956 | | | |
1955 |
o |
|
1957 | o changeset: 5:99b31f1c2782 | |
1956 |
| |
|
1958 | | parent: 3:5918b8d165d1 | |
1957 |
|
|
1959 | ~ user: test | |
1958 |
|
|
1960 | date: Thu Jan 01 00:00:00 1970 +0000 | |
1959 |
|
|
1961 | summary: add another e | |
1960 | | | |
|
1962 | ||
1961 |
|
|
1963 | diff --git a/e b/e | |
1962 |
|
|
1964 | new file mode 100644 | |
1963 |
|
|
1965 | --- /dev/null | |
1964 |
|
|
1966 | +++ b/e | |
1965 |
|
|
1967 | @@ -0,0 +1,1 @@ | |
1966 |
|
|
1968 | +ee | |
1967 | | | |
|
1969 | ||
1968 |
|
1970 | |||
1969 | Test old-style --rev |
|
1971 | Test old-style --rev | |
1970 |
|
1972 | |||
@@ -2385,6 +2387,7 b' working-directory revision' | |||||
2385 | | |
|
2387 | | | |
2386 | @ 3:5918b8d165d1 |
|
2388 | @ 3:5918b8d165d1 | |
2387 | | |
|
2389 | | | |
|
2390 | ~ | |||
2388 |
|
2391 | |||
2389 | node template with changeset_printer: |
|
2392 | node template with changeset_printer: | |
2390 |
|
2393 | |||
@@ -2393,8 +2396,10 b' node template with changeset_printer:' | |||||
2393 | | |
|
2396 | | | |
2394 | 6 6:fc281d8ff18d |
|
2397 | 6 6:fc281d8ff18d | |
2395 | |\ |
|
2398 | |\ | |
2396 | 5 | 5:99b31f1c2782 |
|
2399 | | ~ | |
2397 | | | |
|
2400 | 5 5:99b31f1c2782 | |
|
2401 | | | |||
|
2402 | ~ | |||
2398 |
|
2403 | |||
2399 | node template with changeset_templater (shared cache variable): |
|
2404 | node template with changeset_templater (shared cache variable): | |
2400 |
|
2405 | |||
@@ -2404,8 +2409,10 b' node template with changeset_templater (' | |||||
2404 | | |
|
2409 | | | |
2405 | # 6 foo-bar+0 |
|
2410 | # 6 foo-bar+0 | |
2406 | |\ |
|
2411 | |\ | |
2407 | o | 5 null+5 |
|
2412 | | ~ | |
2408 | | | |
|
2413 | o 5 null+5 | |
|
2414 | | | |||
|
2415 | ~ | |||
2409 |
|
2416 | |||
2410 | label() should just work in node template: |
|
2417 | label() should just work in node template: | |
2411 |
|
2418 | |||
@@ -2413,6 +2420,7 b' label() should just work in node templat' | |||||
2413 | > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}' |
|
2420 | > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}' | |
2414 | [branch.default|7] [log.node|7:02dbb8e276b8] |
|
2421 | [branch.default|7] [log.node|7:02dbb8e276b8] | |
2415 | | |
|
2422 | | | |
|
2423 | ~ | |||
2416 |
|
2424 | |||
2417 | $ cd .. |
|
2425 | $ cd .. | |
2418 |
|
2426 |
@@ -126,6 +126,7 b' temporarily.' | |||||
126 | | |
|
126 | | | |
127 | o 2 eb57 three |
|
127 | o 2 eb57 three | |
128 | | |
|
128 | | | |
|
129 | ~ | |||
129 | $ HGEDITOR=cat hg histedit -r 4 --commands - << EOF |
|
130 | $ HGEDITOR=cat hg histedit -r 4 --commands - << EOF | |
130 | > edit 08d98a8350f3 4 five |
|
131 | > edit 08d98a8350f3 4 five | |
131 | > EOF |
|
132 | > EOF | |
@@ -154,6 +155,7 b' temporarily.' | |||||
154 | |/ |
|
155 | |/ | |
155 | o 2 eb57 three |
|
156 | o 2 eb57 three | |
156 | | |
|
157 | | | |
|
158 | ~ | |||
157 |
|
159 | |||
158 | $ hg unbundle -q $TESTTMP/foo/.hg/strip-backup/08d98a8350f3-02594089-backup.hg |
|
160 | $ hg unbundle -q $TESTTMP/foo/.hg/strip-backup/08d98a8350f3-02594089-backup.hg | |
159 | $ hg strip -q -r f5ed --config extensions.strip= |
|
161 | $ hg strip -q -r f5ed --config extensions.strip= |
@@ -473,10 +473,10 b' Test actions on largefiles using relativ' | |||||
473 | $ hg log -G anotherlarge |
|
473 | $ hg log -G anotherlarge | |
474 | @ changeset: 1:9627a577c5e9 |
|
474 | @ changeset: 1:9627a577c5e9 | |
475 | | tag: tip |
|
475 | | tag: tip | |
476 |
|
|
476 | ~ user: test | |
477 |
|
|
477 | date: Thu Jan 01 00:00:00 1970 +0000 | |
478 |
|
|
478 | summary: anotherlarge | |
479 |
|
|
479 | ||
480 |
|
480 | |||
481 | $ hg log glob:another* |
|
481 | $ hg log glob:another* | |
482 | changeset: 1:9627a577c5e9 |
|
482 | changeset: 1:9627a577c5e9 | |
@@ -489,6 +489,7 b' Test actions on largefiles using relativ' | |||||
489 | updated patterns: ['glob:../.hglf/sub/another*', 'glob:another*'] |
|
489 | updated patterns: ['glob:../.hglf/sub/another*', 'glob:another*'] | |
490 | @ 1: anotherlarge |
|
490 | @ 1: anotherlarge | |
491 | | |
|
491 | | | |
|
492 | ~ | |||
492 |
|
493 | |||
493 | #if no-msys |
|
494 | #if no-msys | |
494 | $ hg --debug log -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys |
|
495 | $ hg --debug log -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys | |
@@ -499,6 +500,7 b' Test actions on largefiles using relativ' | |||||
499 | updated patterns: ['glob:../.hglf/sub/another*'] |
|
500 | updated patterns: ['glob:../.hglf/sub/another*'] | |
500 | @ 1: anotherlarge |
|
501 | @ 1: anotherlarge | |
501 | | |
|
502 | | | |
|
503 | ~ | |||
502 | #endif |
|
504 | #endif | |
503 |
|
505 | |||
504 | $ echo more >> anotherlarge |
|
506 | $ echo more >> anotherlarge | |
@@ -534,10 +536,10 b' Test glob logging from the root dir' | |||||
534 | $ hg log -G glob:**another* |
|
536 | $ hg log -G glob:**another* | |
535 | @ changeset: 1:9627a577c5e9 |
|
537 | @ changeset: 1:9627a577c5e9 | |
536 | | tag: tip |
|
538 | | tag: tip | |
537 |
|
|
539 | ~ user: test | |
538 |
|
|
540 | date: Thu Jan 01 00:00:00 1970 +0000 | |
539 |
|
|
541 | summary: anotherlarge | |
540 |
|
|
542 | ||
541 |
|
543 | |||
542 | $ cd .. |
|
544 | $ cd .. | |
543 |
|
545 |
@@ -931,6 +931,7 b' log with both --follow and --patch' | |||||
931 | $ hg log -Gqf sub2/large7 |
|
931 | $ hg log -Gqf sub2/large7 | |
932 | @ 7:daea875e9014 |
|
932 | @ 7:daea875e9014 | |
933 | | |
|
933 | | | |
|
934 | ~ | |||
934 | $ cd .. |
|
935 | $ cd .. | |
935 |
|
936 | |||
936 | Test log from outside repo |
|
937 | Test log from outside repo | |
@@ -1285,13 +1286,14 b' Log on largefiles' | |||||
1285 | 4:74c02385b94c move files |
|
1286 | 4:74c02385b94c move files | |
1286 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub/large4 |
|
1287 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub/large4 | |
1287 | o 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1288 | o 8:a381d2c8c80e modify normal file and largefile in repo b | |
1288 |
|
|
1289 | : | |
1289 | o 6:4355d653f84f edit files yet again |
|
1290 | o 6:4355d653f84f edit files yet again | |
1290 | | |
|
1291 | | | |
1291 | o 5:9d5af5072dbd edit files again |
|
1292 | o 5:9d5af5072dbd edit files again | |
1292 | | |
|
1293 | | | |
1293 | o 4:74c02385b94c move files |
|
1294 | o 4:74c02385b94c move files | |
1294 | | |
|
1295 | | | |
|
1296 | ~ | |||
1295 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' sub/large4 |
|
1297 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' sub/large4 | |
1296 | 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1298 | 8:a381d2c8c80e modify normal file and largefile in repo b | |
1297 | 6:4355d653f84f edit files yet again |
|
1299 | 6:4355d653f84f edit files yet again | |
@@ -1299,13 +1301,14 b' Log on largefiles' | |||||
1299 | 4:74c02385b94c move files |
|
1301 | 4:74c02385b94c move files | |
1300 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub/large4 |
|
1302 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub/large4 | |
1301 | o 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1303 | o 8:a381d2c8c80e modify normal file and largefile in repo b | |
1302 |
|
|
1304 | : | |
1303 | o 6:4355d653f84f edit files yet again |
|
1305 | o 6:4355d653f84f edit files yet again | |
1304 | | |
|
1306 | | | |
1305 | o 5:9d5af5072dbd edit files again |
|
1307 | o 5:9d5af5072dbd edit files again | |
1306 | | |
|
1308 | | | |
1307 | o 4:74c02385b94c move files |
|
1309 | o 4:74c02385b94c move files | |
1308 | | |
|
1310 | | | |
|
1311 | ~ | |||
1309 |
|
1312 | |||
1310 | - .hglf only matches largefiles, without .hglf it matches 9 bco sub/normal |
|
1313 | - .hglf only matches largefiles, without .hglf it matches 9 bco sub/normal | |
1311 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub |
|
1314 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub | |
@@ -1317,13 +1320,13 b' Log on largefiles' | |||||
1317 | 0:30d30fe6a5be add files |
|
1320 | 0:30d30fe6a5be add files | |
1318 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub |
|
1321 | $ hg log -G --template '{rev}:{node|short} {desc|firstline}\n' .hglf/sub | |
1319 | o 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1322 | o 8:a381d2c8c80e modify normal file and largefile in repo b | |
1320 |
|
|
1323 | : | |
1321 | o 6:4355d653f84f edit files yet again |
|
1324 | o 6:4355d653f84f edit files yet again | |
1322 | | |
|
1325 | | | |
1323 | o 5:9d5af5072dbd edit files again |
|
1326 | o 5:9d5af5072dbd edit files again | |
1324 | | |
|
1327 | | | |
1325 | o 4:74c02385b94c move files |
|
1328 | o 4:74c02385b94c move files | |
1326 |
|
|
1329 | : | |
1327 | o 1:ce8896473775 edit files |
|
1330 | o 1:ce8896473775 edit files | |
1328 | | |
|
1331 | | | |
1329 | o 0:30d30fe6a5be add files |
|
1332 | o 0:30d30fe6a5be add files | |
@@ -1340,13 +1343,13 b' Log on largefiles' | |||||
1340 | @ 9:598410d3eb9a modify normal file largefile in repo d |
|
1343 | @ 9:598410d3eb9a modify normal file largefile in repo d | |
1341 | | |
|
1344 | | | |
1342 | o 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1345 | o 8:a381d2c8c80e modify normal file and largefile in repo b | |
1343 |
|
|
1346 | : | |
1344 | o 6:4355d653f84f edit files yet again |
|
1347 | o 6:4355d653f84f edit files yet again | |
1345 | | |
|
1348 | | | |
1346 | o 5:9d5af5072dbd edit files again |
|
1349 | o 5:9d5af5072dbd edit files again | |
1347 | | |
|
1350 | | | |
1348 | o 4:74c02385b94c move files |
|
1351 | o 4:74c02385b94c move files | |
1349 |
|
|
1352 | : | |
1350 | o 1:ce8896473775 edit files |
|
1353 | o 1:ce8896473775 edit files | |
1351 | | |
|
1354 | | | |
1352 | o 0:30d30fe6a5be add files |
|
1355 | o 0:30d30fe6a5be add files | |
@@ -1364,13 +1367,13 b' Log on largefiles' | |||||
1364 | @ 9:598410d3eb9a modify normal file largefile in repo d |
|
1367 | @ 9:598410d3eb9a modify normal file largefile in repo d | |
1365 | | |
|
1368 | | | |
1366 | o 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1369 | o 8:a381d2c8c80e modify normal file and largefile in repo b | |
1367 |
|
|
1370 | : | |
1368 | o 6:4355d653f84f edit files yet again |
|
1371 | o 6:4355d653f84f edit files yet again | |
1369 | | |
|
1372 | | | |
1370 | o 5:9d5af5072dbd edit files again |
|
1373 | o 5:9d5af5072dbd edit files again | |
1371 | | |
|
1374 | | | |
1372 | o 4:74c02385b94c move files |
|
1375 | o 4:74c02385b94c move files | |
1373 |
|
|
1376 | : | |
1374 | o 1:ce8896473775 edit files |
|
1377 | o 1:ce8896473775 edit files | |
1375 | | |
|
1378 | | | |
1376 | o 0:30d30fe6a5be add files |
|
1379 | o 0:30d30fe6a5be add files |
@@ -2036,10 +2036,10 b' log -f on the file should list the graft' | |||||
2036 | | summary: content3 |
|
2036 | | summary: content3 | |
2037 | | |
|
2037 | | | |
2038 | o changeset: 3:15b2327059e5 |
|
2038 | o changeset: 3:15b2327059e5 | |
2039 |
|
|
2039 | : user: test | |
2040 |
|
|
2040 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2041 |
|
|
2041 | : summary: content2 | |
2042 |
|
|
2042 | : | |
2043 | o changeset: 0:ae0a3c9f9e95 |
|
2043 | o changeset: 0:ae0a3c9f9e95 | |
2044 | user: test |
|
2044 | user: test | |
2045 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2045 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -2051,16 +2051,16 b' plain log lists the original version' | |||||
2051 |
|
2051 | |||
2052 | $ hg log -G a |
|
2052 | $ hg log -G a | |
2053 | @ changeset: 4:50b9b36e9c5d |
|
2053 | @ changeset: 4:50b9b36e9c5d | |
2054 |
|
|
2054 | : tag: tip | |
2055 |
|
|
2055 | : user: test | |
2056 |
|
|
2056 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2057 |
|
|
2057 | : summary: content3 | |
2058 |
|
|
2058 | : | |
2059 |
|
|
2059 | : o changeset: 1:2294ae80ad84 | |
2060 |
|
|
2060 | :/ user: test | |
2061 |
|
|
2061 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2062 |
|
|
2062 | : summary: content2 | |
2063 |
|
|
2063 | : | |
2064 | o changeset: 0:ae0a3c9f9e95 |
|
2064 | o changeset: 0:ae0a3c9f9e95 | |
2065 | user: test |
|
2065 | user: test | |
2066 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2066 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -2074,10 +2074,10 b' hg log -f from the grafted changeset' | |||||
2074 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2074 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2075 | $ hg log -Gf a |
|
2075 | $ hg log -Gf a | |
2076 | @ changeset: 3:15b2327059e5 |
|
2076 | @ changeset: 3:15b2327059e5 | |
2077 |
|
|
2077 | : user: test | |
2078 |
|
|
2078 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2079 |
|
|
2079 | : summary: content2 | |
2080 |
|
|
2080 | : | |
2081 | o changeset: 0:ae0a3c9f9e95 |
|
2081 | o changeset: 0:ae0a3c9f9e95 | |
2082 | user: test |
|
2082 | user: test | |
2083 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2083 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -2125,10 +2125,10 b' Check that log on the file does not drop' | |||||
2125 | | summary: content3 |
|
2125 | | summary: content3 | |
2126 | | |
|
2126 | | | |
2127 | @ changeset: 3:15b2327059e5 |
|
2127 | @ changeset: 3:15b2327059e5 | |
2128 |
|
|
2128 | : user: test | |
2129 |
|
|
2129 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2130 |
|
|
2130 | : summary: content2 | |
2131 |
|
|
2131 | : | |
2132 | o changeset: 0:ae0a3c9f9e95 |
|
2132 | o changeset: 0:ae0a3c9f9e95 | |
2133 | user: test |
|
2133 | user: test | |
2134 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2134 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -2142,11 +2142,11 b' Even when a head revision is linkrev-sha' | |||||
2142 | $ hg debugobsolete 50b9b36e9c5df2c6fc6dcefa8ad0da929e84aed2 |
|
2142 | $ hg debugobsolete 50b9b36e9c5df2c6fc6dcefa8ad0da929e84aed2 | |
2143 | $ hg log -G a |
|
2143 | $ hg log -G a | |
2144 | @ changeset: 3:15b2327059e5 |
|
2144 | @ changeset: 3:15b2327059e5 | |
2145 |
|
|
2145 | : tag: tip | |
2146 |
|
|
2146 | : user: test | |
2147 |
|
|
2147 | : date: Thu Jan 01 00:00:00 1970 +0000 | |
2148 |
|
|
2148 | : summary: content2 | |
2149 |
|
|
2149 | : | |
2150 | o changeset: 0:ae0a3c9f9e95 |
|
2150 | o changeset: 0:ae0a3c9f9e95 | |
2151 | user: test |
|
2151 | user: test | |
2152 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2152 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -2199,17 +2199,17 b' Even when the file revision is missing f' | |||||
2199 | $ hg log -f -G b |
|
2199 | $ hg log -f -G b | |
2200 | @ changeset: 3:9bc8ce7f9356 |
|
2200 | @ changeset: 3:9bc8ce7f9356 | |
2201 | | parent: 0:f7b1eb17ad24 |
|
2201 | | parent: 0:f7b1eb17ad24 | |
2202 |
|
|
2202 | ~ user: test | |
2203 |
|
|
2203 | date: Thu Jan 01 00:00:00 1970 +0000 | |
2204 |
|
|
2204 | summary: 1 | |
2205 |
|
|
2205 | ||
2206 | $ hg log -G b |
|
2206 | $ hg log -G b | |
2207 | @ changeset: 3:9bc8ce7f9356 |
|
2207 | @ changeset: 3:9bc8ce7f9356 | |
2208 | | parent: 0:f7b1eb17ad24 |
|
2208 | | parent: 0:f7b1eb17ad24 | |
2209 |
|
|
2209 | ~ user: test | |
2210 |
|
|
2210 | date: Thu Jan 01 00:00:00 1970 +0000 | |
2211 |
|
|
2211 | summary: 1 | |
2212 |
|
|
2212 | ||
2213 | $ cd .. |
|
2213 | $ cd .. | |
2214 |
|
2214 | |||
2215 | Check proper report when the manifest changes but not the file issue4499 |
|
2215 | Check proper report when the manifest changes but not the file issue4499 |
@@ -92,6 +92,7 b' Invoke pull --rebase and nothing to reba' | |||||
92 | $ hg tglog -l 1 |
|
92 | $ hg tglog -l 1 | |
93 | @ 2: 'R1' |
|
93 | @ 2: 'R1' | |
94 | | |
|
94 | | | |
|
95 | ~ | |||
95 |
|
96 | |||
96 | pull --rebase --update should ignore --update: |
|
97 | pull --rebase --update should ignore --update: | |
97 |
|
98 | |||
@@ -112,6 +113,7 b" pull --rebase doesn't update if nothing " | |||||
112 | $ hg tglog -l 1 |
|
113 | $ hg tglog -l 1 | |
113 | o 2: 'R1' |
|
114 | o 2: 'R1' | |
114 | | |
|
115 | | | |
|
116 | ~ | |||
115 |
|
117 | |||
116 | $ cd .. |
|
118 | $ cd .. | |
117 |
|
119 |
@@ -298,7 +298,7 b' There should still be four entries in th' | |||||
298 | o 3: 'File c created as copy of b and modified' |
|
298 | o 3: 'File c created as copy of b and modified' | |
299 | | |
|
299 | | | |
300 | o 2: 'File b created as copy of a and modified' |
|
300 | o 2: 'File b created as copy of a and modified' | |
301 |
|
|
301 | : | |
302 | o 0: 'File a created' |
|
302 | o 0: 'File a created' | |
303 |
|
303 | |||
304 | Same steps as above, but with --collapse on rebase to make sure the |
|
304 | Same steps as above, but with --collapse on rebase to make sure the | |
@@ -323,9 +323,9 b" copy of 'a'." | |||||
323 |
|
323 | |||
324 | $ hg tglog --follow d |
|
324 | $ hg tglog --follow d | |
325 | @ 3: 'Collapsed revision |
|
325 | @ 3: 'Collapsed revision | |
326 |
|
|
326 | : * File b created as copy of a and modified | |
327 |
|
|
327 | : * File c created as copy of b and modified | |
328 |
|
|
328 | : * File d created as copy of c and modified' | |
329 | o 0: 'File a created' |
|
329 | o 0: 'File a created' | |
330 |
|
330 | |||
331 |
|
331 |
@@ -725,6 +725,7 b' unshelve and conflicts with tracked and ' | |||||
725 | $ hg log -G --template '{rev} {desc|firstline} {author}' -R bundle://.hg/shelved/default.hg -r 'bundle()' |
|
725 | $ hg log -G --template '{rev} {desc|firstline} {author}' -R bundle://.hg/shelved/default.hg -r 'bundle()' | |
726 | o 4 changes to: commit stuff shelve@localhost |
|
726 | o 4 changes to: commit stuff shelve@localhost | |
727 | | |
|
727 | | | |
|
728 | ~ | |||
728 | $ hg log -G --template '{rev} {desc|firstline} {author}' |
|
729 | $ hg log -G --template '{rev} {desc|firstline} {author}' | |
729 | @ 3 commit stuff test |
|
730 | @ 3 commit stuff test | |
730 | | |
|
731 | | |
General Comments 0
You need to be logged in to leave comments.
Login now