Show More
@@ -33,7 +33,11 b' def debug_index(' | |||
|
33 | 33 | |
|
34 | 34 | fm.plain( |
|
35 | 35 | b' rev linkrev %s %s %s\n' |
|
36 | % (b'nodeid'.rjust(idlen), b'p1'.rjust(idlen), b'p2'.rjust(idlen)) | |
|
36 | % ( | |
|
37 | b'nodeid'.rjust(idlen), | |
|
38 | b'p1-nodeid'.rjust(idlen), | |
|
39 | b'p2-nodeid'.rjust(idlen), | |
|
40 | ) | |
|
37 | 41 | ) |
|
38 | 42 | |
|
39 | 43 | for rev in revlog: |
@@ -51,7 +51,7 b' this should not mention bar but should m' | |||
|
51 | 51 | |
|
52 | 52 | |
|
53 | 53 | $ hg debugindex bar |
|
54 |
rev linkrev nodeid |
|
|
54 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
55 | 55 | 0 1 b004912a8510 000000000000 000000000000 |
|
56 | 56 | |
|
57 | 57 | $ cd .. |
@@ -45,19 +45,19 b'' | |||
|
45 | 45 | 3 0000 8 3 2 -1 19b1fc555737 |
|
46 | 46 | |
|
47 | 47 | $ hg debugindex adifferentfile |
|
48 |
rev linkrev nodeid |
|
|
48 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
49 | 49 | 0 7 2565f3199a74 000000000000 000000000000 |
|
50 | 50 | |
|
51 | 51 | $ hg debugindex anotherfile |
|
52 |
rev linkrev nodeid |
|
|
52 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
53 | 53 | 0 8 2565f3199a74 000000000000 000000000000 |
|
54 | 54 | |
|
55 | 55 | $ hg debugindex fred |
|
56 |
rev linkrev nodeid |
|
|
56 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
57 | 57 | 0 6 12ab3bcc5ea4 000000000000 000000000000 |
|
58 | 58 | |
|
59 | 59 | $ hg debugindex --manifest |
|
60 |
rev linkrev nodeid |
|
|
60 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
61 | 61 | 0 0 43eadb1d2d06 000000000000 000000000000 |
|
62 | 62 | 1 1 8b89697eba2c 43eadb1d2d06 000000000000 |
|
63 | 63 | 2 2 626a32663c2f 8b89697eba2c 000000000000 |
@@ -1203,7 +1203,7 b' directory)' | |||
|
1203 | 1203 | R olddirname/commonfile.py |
|
1204 | 1204 | R olddirname/newfile.py |
|
1205 | 1205 | $ hg debugindex newdirname/newfile.py |
|
1206 |
rev linkrev nodeid |
|
|
1206 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
1207 | 1207 | 0 3 34a4d536c0c0 000000000000 000000000000 |
|
1208 | 1208 | |
|
1209 | 1209 | $ echo a >> newdirname/commonfile.py |
@@ -1211,7 +1211,7 b' directory)' | |||
|
1211 | 1211 | $ hg debugrename newdirname/newfile.py |
|
1212 | 1212 | newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def |
|
1213 | 1213 | $ hg debugindex newdirname/newfile.py |
|
1214 |
rev linkrev nodeid |
|
|
1214 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
1215 | 1215 | 0 3 34a4d536c0c0 000000000000 000000000000 |
|
1216 | 1216 | |
|
1217 | 1217 | #if execbit |
@@ -627,7 +627,7 b' commit copy' | |||
|
627 | 627 | $ hg debugrename foo |
|
628 | 628 | foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9 |
|
629 | 629 | $ hg debugindex bar |
|
630 |
rev linkrev nodeid |
|
|
630 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
631 | 631 | 0 0 26d3ca0dfd18 000000000000 000000000000 |
|
632 | 632 | 1 1 d267bddd54f7 26d3ca0dfd18 000000000000 |
|
633 | 633 |
@@ -511,7 +511,7 b' Merge:' | |||
|
511 | 511 | $ hg mv --force i d |
|
512 | 512 | $ hg commit -m "f-2: rename i -> d" |
|
513 | 513 | $ hg debugindex d | "$PYTHON" ../no-linkrev |
|
514 |
rev linkrev nodeid |
|
|
514 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
515 | 515 | 0 * d8252ab2e760 000000000000 000000000000 (no-changeset !) |
|
516 | 516 | 0 * ae258f702dfe 000000000000 000000000000 (changeset !) |
|
517 | 517 | 1 * b004912a8510 000000000000 000000000000 |
@@ -567,7 +567,7 b' Merge:' | |||
|
567 | 567 | $ hg mv --force x t |
|
568 | 568 | $ hg commit -m "r-2: rename t -> x" |
|
569 | 569 | $ hg debugindex t | "$PYTHON" ../no-linkrev |
|
570 |
rev linkrev nodeid |
|
|
570 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
571 | 571 | 0 * d74efbf65309 000000000000 000000000000 (no-changeset !) |
|
572 | 572 | 1 * 02a930b9d7ad 000000000000 000000000000 (no-changeset !) |
|
573 | 573 | 0 * 5aed6a8dbff0 000000000000 000000000000 (changeset !) |
@@ -934,7 +934,7 b' Merge:' | |||
|
934 | 934 | 2 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
935 | 935 | #if no-changeset |
|
936 | 936 | $ hg debugindex d | "$PYTHON" ../no-linkrev |
|
937 |
rev linkrev nodeid |
|
|
937 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
938 | 938 | 0 * d8252ab2e760 000000000000 000000000000 |
|
939 | 939 | 1 * b004912a8510 000000000000 000000000000 |
|
940 | 940 | 2 * 7b79e2fe0c89 000000000000 000000000000 |
@@ -945,7 +945,7 b' Merge:' | |||
|
945 | 945 | 7 * d55cb4e9ef57 000000000000 000000000000 |
|
946 | 946 | #else |
|
947 | 947 | $ hg debugindex d | "$PYTHON" ../no-linkrev |
|
948 |
rev linkrev nodeid |
|
|
948 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
949 | 949 | 0 * ae258f702dfe 000000000000 000000000000 |
|
950 | 950 | 1 * b004912a8510 000000000000 000000000000 |
|
951 | 951 | 2 * 5cce88bf349f ae258f702dfe 000000000000 |
@@ -979,7 +979,7 b' Merge:' | |||
|
979 | 979 | cea2d99c0fde64672ef61953786fdff34f16e230 644 d (changeset !) |
|
980 | 980 | #if no-changeset |
|
981 | 981 | $ hg debugindex d | "$PYTHON" ../no-linkrev |
|
982 |
rev linkrev nodeid |
|
|
982 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
983 | 983 | 0 * d8252ab2e760 000000000000 000000000000 |
|
984 | 984 | 1 * b004912a8510 000000000000 000000000000 |
|
985 | 985 | 2 * 7b79e2fe0c89 000000000000 000000000000 |
@@ -991,7 +991,7 b' Merge:' | |||
|
991 | 991 | 8 * 1c334238bd42 7b79e2fe0c89 000000000000 |
|
992 | 992 | #else |
|
993 | 993 | $ hg debugindex d | "$PYTHON" ../no-linkrev |
|
994 |
rev linkrev nodeid |
|
|
994 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
995 | 995 | 0 * ae258f702dfe 000000000000 000000000000 |
|
996 | 996 | 1 * b004912a8510 000000000000 000000000000 |
|
997 | 997 | 2 * 5cce88bf349f ae258f702dfe 000000000000 |
@@ -2402,7 +2402,7 b' The bugs makes recorded copy is differen' | |||
|
2402 | 2402 | d8252ab2e760b0d4e5288fd44cbd15a0fa567e16 644 d (no-changeset !) |
|
2403 | 2403 | ae258f702dfeca05bf9b6a22a97a4b5645570f11 644 d (changeset !) |
|
2404 | 2404 | $ hg debugindex d | head -n 4 | "$PYTHON" ../no-linkrev |
|
2405 |
rev linkrev nodeid |
|
|
2405 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
2406 | 2406 | 0 * d8252ab2e760 000000000000 000000000000 (no-changeset !) |
|
2407 | 2407 | 0 * ae258f702dfe 000000000000 000000000000 (changeset !) |
|
2408 | 2408 | 1 * b004912a8510 000000000000 000000000000 |
@@ -2475,7 +2475,7 b' Subcase: new copy information on both si' | |||
|
2475 | 2475 | $ hg manifest --debug --rev 'desc("e-2")' | grep '644 f' |
|
2476 | 2476 | e8825b386367b29fec957283a80bb47b47483fe1 644 f |
|
2477 | 2477 | $ hg debugindex f | "$PYTHON" ../no-linkrev |
|
2478 |
rev linkrev nodeid |
|
|
2478 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
2479 | 2479 | 0 * b76eb76580df 000000000000 000000000000 |
|
2480 | 2480 | 1 * e8825b386367 000000000000 000000000000 |
|
2481 | 2481 | 2 * 2ff93c643948 b76eb76580df e8825b386367 |
@@ -2491,7 +2491,7 b' Subcase: new copy information on both si' | |||
|
2491 | 2491 | $ hg manifest --debug --rev 'desc("e-2")' | grep '644 f' |
|
2492 | 2492 | ae258f702dfeca05bf9b6a22a97a4b5645570f11 644 f |
|
2493 | 2493 | $ hg debugindex f | "$PYTHON" ../no-linkrev |
|
2494 |
rev linkrev nodeid |
|
|
2494 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
2495 | 2495 | 0 * ae258f702dfe 000000000000 000000000000 |
|
2496 | 2496 | 1 * d3613c1ec831 ae258f702dfe 000000000000 |
|
2497 | 2497 | 2 * 05e03c868bbc ae258f702dfe 000000000000 |
@@ -3063,7 +3063,7 b' Subcase: new copy information on both si' | |||
|
3063 | 3063 | $ hg manifest --debug --rev 'desc("q-2")' | grep '644 v' |
|
3064 | 3064 | c43c088b811fd27983c0a9aadf44f3343cd4cd7e 644 v |
|
3065 | 3065 | $ hg debugindex v | "$PYTHON" ../no-linkrev |
|
3066 |
rev linkrev nodeid |
|
|
3066 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
3067 | 3067 | 0 * 3f91841cd75c 000000000000 000000000000 |
|
3068 | 3068 | 1 * c43c088b811f 000000000000 000000000000 |
|
3069 | 3069 | 2 * 0946c662ef16 3f91841cd75c c43c088b811f |
@@ -3078,7 +3078,7 b' Subcase: new copy information on both si' | |||
|
3078 | 3078 | $ hg manifest --debug --rev 'desc("q-2")' | grep '644 v' |
|
3079 | 3079 | a38b2fa170219750dac9bc7d19df831f213ba708 644 v |
|
3080 | 3080 | $ hg debugindex v | "$PYTHON" ../no-linkrev |
|
3081 |
rev linkrev nodeid |
|
|
3081 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
3082 | 3082 | 0 * 5aed6a8dbff0 000000000000 000000000000 |
|
3083 | 3083 | 1 * a38b2fa17021 000000000000 000000000000 |
|
3084 | 3084 | 2 * 65fde9f6e4d4 5aed6a8dbff0 a38b2fa17021 |
@@ -3361,7 +3361,7 b' Subcase: merge has same initial content ' | |||
|
3361 | 3361 | $ hg manifest --debug --rev 'desc("e-2")' | grep '644 f' |
|
3362 | 3362 | e8825b386367b29fec957283a80bb47b47483fe1 644 f |
|
3363 | 3363 | $ hg debugindex f | "$PYTHON" ../no-linkrev |
|
3364 |
rev linkrev nodeid |
|
|
3364 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
3365 | 3365 | 0 * b76eb76580df 000000000000 000000000000 |
|
3366 | 3366 | 1 * e8825b386367 000000000000 000000000000 |
|
3367 | 3367 | 2 * 2ff93c643948 b76eb76580df e8825b386367 |
@@ -3377,7 +3377,7 b' Subcase: merge has same initial content ' | |||
|
3377 | 3377 | $ hg manifest --debug --rev 'desc("e-2")' | grep '644 f' |
|
3378 | 3378 | ae258f702dfeca05bf9b6a22a97a4b5645570f11 644 f |
|
3379 | 3379 | $ hg debugindex f | "$PYTHON" ../no-linkrev |
|
3380 |
rev linkrev nodeid |
|
|
3380 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
3381 | 3381 | 0 * ae258f702dfe 000000000000 000000000000 |
|
3382 | 3382 | 1 * d3613c1ec831 ae258f702dfe 000000000000 |
|
3383 | 3383 | 2 * 05e03c868bbc ae258f702dfe 000000000000 |
@@ -121,13 +121,13 b' even though there is no filelog entry.' | |||
|
121 | 121 | #if extra |
|
122 | 122 | |
|
123 | 123 | $ hg debugindex c |
|
124 |
rev linkrev nodeid |
|
|
124 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
125 | 125 | 0 1 b789fdd96dc2 000000000000 000000000000 |
|
126 | 126 | |
|
127 | 127 | #else |
|
128 | 128 | |
|
129 | 129 | $ hg debugindex c |
|
130 |
rev linkrev nodeid |
|
|
130 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
131 | 131 | 0 1 37d9b5d994ea 000000000000 000000000000 |
|
132 | 132 | |
|
133 | 133 | #endif |
@@ -155,13 +155,13 b' even though there is no filelog entry.' | |||
|
155 | 155 | #if extra |
|
156 | 156 | |
|
157 | 157 | $ hg debugindex c |
|
158 |
rev linkrev nodeid |
|
|
158 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
159 | 159 | 0 1 b789fdd96dc2 000000000000 000000000000 |
|
160 | 160 | |
|
161 | 161 | #else |
|
162 | 162 | |
|
163 | 163 | $ hg debugindex c |
|
164 |
rev linkrev nodeid |
|
|
164 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
165 | 165 | 0 1 37d9b5d994ea 000000000000 000000000000 |
|
166 | 166 | 1 3 029625640347 000000000000 000000000000 |
|
167 | 167 |
@@ -61,7 +61,7 b' we should see one log entry for a' | |||
|
61 | 61 | this should show a revision linked to changeset 0 |
|
62 | 62 | |
|
63 | 63 | $ hg debugindex a |
|
64 |
rev linkrev nodeid |
|
|
64 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
65 | 65 | 0 0 b789fdd96dc2 000000000000 000000000000 |
|
66 | 66 | |
|
67 | 67 | we should see one log entry for b |
@@ -77,7 +77,7 b' we should see one log entry for b' | |||
|
77 | 77 | this should show a revision linked to changeset 1 |
|
78 | 78 | |
|
79 | 79 | $ hg debugindex b |
|
80 |
rev linkrev nodeid |
|
|
80 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
81 | 81 | 0 1 37d9b5d994ea 000000000000 000000000000 |
|
82 | 82 | |
|
83 | 83 | this should show the rename information in the metadata |
@@ -187,7 +187,7 b" shouldn't show copy" | |||
|
187 | 187 | |
|
188 | 188 | should match |
|
189 | 189 | $ hg debugindex foo |
|
190 |
rev linkrev nodeid |
|
|
190 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
191 | 191 | 0 0 2ed2a3912a0b 000000000000 000000000000 |
|
192 | 192 | $ hg debugrename bar |
|
193 | 193 | bar renamed from foo:2ed2a3912a0b24502043eae84ee4b279c18b90dd |
@@ -217,13 +217,13 b' displayed.' | |||
|
217 | 217 | |
|
218 | 218 | should show no parents for tip |
|
219 | 219 | $ hg debugindex bar |
|
220 |
rev linkrev nodeid |
|
|
220 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
221 | 221 | 0 1 7711d36246cc 000000000000 000000000000 |
|
222 | 222 | 1 2 bdf70a2b8d03 7711d36246cc 000000000000 |
|
223 | 223 | 2 3 b2558327ea8d 000000000000 000000000000 |
|
224 | 224 | should match |
|
225 | 225 | $ hg debugindex foo |
|
226 |
rev linkrev nodeid |
|
|
226 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
227 | 227 | 0 0 2ed2a3912a0b 000000000000 000000000000 |
|
228 | 228 | 1 2 dd12c926cf16 2ed2a3912a0b 000000000000 |
|
229 | 229 | $ hg debugrename bar |
@@ -148,30 +148,30 b' Test debugindex, with and without the --' | |||
|
148 | 148 | #endif |
|
149 | 149 | |
|
150 | 150 | $ hg debugindex -c |
|
151 |
rev linkrev nodeid |
|
|
151 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
152 | 152 | 0 0 07f494440405 000000000000 000000000000 |
|
153 | 153 | 1 1 8cccb4b5fec2 07f494440405 000000000000 |
|
154 | 154 | 2 2 b1e228c512c5 8cccb4b5fec2 000000000000 |
|
155 | 155 | $ hg debugindex -c --debug |
|
156 |
rev linkrev nodeid |
|
|
156 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
157 | 157 | 0 0 07f4944404050f47db2e5c5071e0e84e7a27bba9 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
|
158 | 158 | 1 1 8cccb4b5fec20cafeb99dd01c26d4dee8ea4388a 07f4944404050f47db2e5c5071e0e84e7a27bba9 0000000000000000000000000000000000000000 |
|
159 | 159 | 2 2 b1e228c512c5d7066d70562ed839c3323a62d6d2 8cccb4b5fec20cafeb99dd01c26d4dee8ea4388a 0000000000000000000000000000000000000000 |
|
160 | 160 | $ hg debugindex -m |
|
161 |
rev linkrev nodeid |
|
|
161 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
162 | 162 | 0 0 a0c8bcbbb45c 000000000000 000000000000 |
|
163 | 163 | 1 1 57faf8a737ae a0c8bcbbb45c 000000000000 |
|
164 | 164 | 2 2 a35b10320954 57faf8a737ae 000000000000 |
|
165 | 165 | $ hg debugindex -m --debug |
|
166 |
rev linkrev nodeid |
|
|
166 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
167 | 167 | 0 0 a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
|
168 | 168 | 1 1 57faf8a737ae7faf490582941a82319ba6529dca a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 0000000000000000000000000000000000000000 |
|
169 | 169 | 2 2 a35b103209548032201c16c7688cb2657f037a38 57faf8a737ae7faf490582941a82319ba6529dca 0000000000000000000000000000000000000000 |
|
170 | 170 | $ hg debugindex a |
|
171 |
rev linkrev nodeid |
|
|
171 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
172 | 172 | 0 0 b789fdd96dc2 000000000000 000000000000 |
|
173 | 173 | $ hg debugindex --debug a |
|
174 |
rev linkrev nodeid |
|
|
174 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
175 | 175 | 0 0 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
|
176 | 176 | |
|
177 | 177 | debugdelta chain basic output |
@@ -64,7 +64,7 b'' | |||
|
64 | 64 | summary: test |
|
65 | 65 | |
|
66 | 66 | $ hg debugindex --changelog |
|
67 |
rev linkrev nodeid |
|
|
67 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
68 | 68 | 0 0 5e0375449e74 000000000000 000000000000 |
|
69 | 69 | 1 1 96155394af80 5e0375449e74 000000000000 |
|
70 | 70 | 2 2 92cc4c306b19 5e0375449e74 000000000000 |
@@ -89,7 +89,7 b' revision 4' | |||
|
89 | 89 | 79d7492df40aa0fa093ec4209be78043c181f094 644 b |
|
90 | 90 | |
|
91 | 91 | $ hg debugindex a |
|
92 |
rev linkrev nodeid |
|
|
92 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
93 | 93 | 0 0 2ed2a3912a0b 000000000000 000000000000 |
|
94 | 94 | 1 1 79d7492df40a 2ed2a3912a0b 000000000000 |
|
95 | 95 |
@@ -16,6 +16,6 b' Issue351: mq: qrefresh can create extra ' | |||
|
16 | 16 | $ hg qrefresh |
|
17 | 17 | |
|
18 | 18 | $ hg debugindex b |
|
19 |
rev linkrev nodeid |
|
|
19 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
20 | 20 | 0 0 1e88685f5dde 000000000000 000000000000 |
|
21 | 21 |
@@ -72,7 +72,7 b' Merging:' | |||
|
72 | 72 | main: we should have a merge here: |
|
73 | 73 | |
|
74 | 74 | $ hg debugindex --changelog |
|
75 |
rev linkrev nodeid |
|
|
75 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
76 | 76 | 0 0 cdca01651b96 000000000000 000000000000 |
|
77 | 77 | 1 1 f6718a9cb7f3 cdca01651b96 000000000000 |
|
78 | 78 | 2 2 bdd988058d16 cdca01651b96 000000000000 |
@@ -96,7 +96,7 b' log should show foo and quux changed:' | |||
|
96 | 96 | foo: we should have a merge here: |
|
97 | 97 | |
|
98 | 98 | $ hg debugindex foo |
|
99 |
rev linkrev nodeid |
|
|
99 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
100 | 100 | 0 0 b8e02f643373 000000000000 000000000000 |
|
101 | 101 | 1 1 2ffeddde1b65 b8e02f643373 000000000000 |
|
102 | 102 | 2 2 33d1fb69067a b8e02f643373 000000000000 |
@@ -105,21 +105,21 b' foo: we should have a merge here:' | |||
|
105 | 105 | bar: we should not have a merge here: |
|
106 | 106 | |
|
107 | 107 | $ hg debugindex bar |
|
108 |
rev linkrev nodeid |
|
|
108 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
109 | 109 | 0 0 b8e02f643373 000000000000 000000000000 |
|
110 | 110 | 1 2 33d1fb69067a b8e02f643373 000000000000 |
|
111 | 111 | |
|
112 | 112 | baz: we should not have a merge here: |
|
113 | 113 | |
|
114 | 114 | $ hg debugindex baz |
|
115 |
rev linkrev nodeid |
|
|
115 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
116 | 116 | 0 0 b8e02f643373 000000000000 000000000000 |
|
117 | 117 | 1 1 2ffeddde1b65 b8e02f643373 000000000000 |
|
118 | 118 | |
|
119 | 119 | quux: we should not have a merge here: |
|
120 | 120 | |
|
121 | 121 | $ hg debugindex quux |
|
122 |
rev linkrev nodeid |
|
|
122 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
123 | 123 | 0 0 b8e02f643373 000000000000 000000000000 |
|
124 | 124 | 1 3 6128c0f33108 b8e02f643373 000000000000 |
|
125 | 125 |
@@ -145,13 +145,13 b' the changelog should mention file a:' | |||
|
145 | 145 | -rwxr-x--- |
|
146 | 146 | |
|
147 | 147 | $ hg debugindex a |
|
148 |
rev linkrev nodeid |
|
|
148 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
149 | 149 | 0 0 b80de5d13875 000000000000 000000000000 |
|
150 | 150 | $ hg debugindex -R ../test2 a |
|
151 |
rev linkrev nodeid |
|
|
151 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
152 | 152 | 0 0 b80de5d13875 000000000000 000000000000 |
|
153 | 153 | $ hg debugindex -R ../test1 a |
|
154 |
rev linkrev nodeid |
|
|
154 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
155 | 155 | 0 0 b80de5d13875 000000000000 000000000000 |
|
156 | 156 | 1 1 7fe919cc0336 b80de5d13875 000000000000 |
|
157 | 157 |
@@ -45,7 +45,7 b' revision.' | |||
|
45 | 45 | c6fc755d7e68f49f880599da29f15add41f42f5a 644 foo |
|
46 | 46 | |
|
47 | 47 | $ hg debugindex foo |
|
48 |
rev linkrev nodeid |
|
|
48 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
49 | 49 | 0 0 2ed2a3912a0b 000000000000 000000000000 |
|
50 | 50 | 1 1 6f4310b00b9a 2ed2a3912a0b 000000000000 |
|
51 | 51 | 2 2 c6fc755d7e68 6f4310b00b9a 000000000000 |
@@ -35,7 +35,7 b' Test with the merge on 3 having the rena' | |||
|
35 | 35 | $ hg ci -m '3: merge with local rename' |
|
36 | 36 | |
|
37 | 37 | $ hg debugindex bar |
|
38 |
rev linkrev nodeid |
|
|
38 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
39 | 39 | 0 2 d35118874825 000000000000 000000000000 |
|
40 | 40 | 1 3 5345f5ab8abd 000000000000 d35118874825 |
|
41 | 41 | |
@@ -43,7 +43,7 b' Test with the merge on 3 having the rena' | |||
|
43 | 43 | bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
|
44 | 44 | |
|
45 | 45 | $ hg debugindex foo |
|
46 |
rev linkrev nodeid |
|
|
46 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
47 | 47 | 0 0 690b295714ae 000000000000 000000000000 |
|
48 | 48 | 1 1 9e25c27b8757 690b295714ae 000000000000 |
|
49 | 49 | |
@@ -87,7 +87,7 b' This should use bar@rev2 as the ancestor' | |||
|
87 | 87 | $ hg ci -m '5: merge' |
|
88 | 88 | |
|
89 | 89 | $ hg debugindex bar |
|
90 |
rev linkrev nodeid |
|
|
90 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
91 | 91 | 0 2 d35118874825 000000000000 000000000000 |
|
92 | 92 | 1 3 5345f5ab8abd 000000000000 d35118874825 |
|
93 | 93 | 2 4 ff4b45017382 d35118874825 000000000000 |
@@ -122,7 +122,7 b' on the remote parent:' | |||
|
122 | 122 | $ hg ci -m '3: merge with remote rename' |
|
123 | 123 | |
|
124 | 124 | $ hg debugindex bar |
|
125 |
rev linkrev nodeid |
|
|
125 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
126 | 126 | 0 2 d35118874825 000000000000 000000000000 |
|
127 | 127 | 1 3 5345f5ab8abd 000000000000 d35118874825 |
|
128 | 128 | |
@@ -130,7 +130,7 b' on the remote parent:' | |||
|
130 | 130 | bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
|
131 | 131 | |
|
132 | 132 | $ hg debugindex foo |
|
133 |
rev linkrev nodeid |
|
|
133 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
134 | 134 | 0 0 690b295714ae 000000000000 000000000000 |
|
135 | 135 | 1 1 9e25c27b8757 690b295714ae 000000000000 |
|
136 | 136 | |
@@ -174,7 +174,7 b' This should use bar@rev2 as the ancestor' | |||
|
174 | 174 | $ hg ci -m '5: merge' |
|
175 | 175 | |
|
176 | 176 | $ hg debugindex bar |
|
177 |
rev linkrev nodeid |
|
|
177 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
178 | 178 | 0 2 d35118874825 000000000000 000000000000 |
|
179 | 179 | 1 3 5345f5ab8abd 000000000000 d35118874825 |
|
180 | 180 | 2 4 ff4b45017382 d35118874825 000000000000 |
@@ -105,7 +105,7 b' pull and merge from test-a again' | |||
|
105 | 105 | three |
|
106 | 106 | |
|
107 | 107 | $ hg debugindex test.txt |
|
108 |
rev linkrev nodeid |
|
|
108 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
109 | 109 | 0 0 01365c4cca56 000000000000 000000000000 |
|
110 | 110 | 1 1 7b013192566a 01365c4cca56 000000000000 |
|
111 | 111 | 2 2 8fe46a3eb557 01365c4cca56 000000000000 |
@@ -16,19 +16,19 b'' | |||
|
16 | 16 | adding foo/bar/f |
|
17 | 17 | adding foo/f |
|
18 | 18 | $ hg debugindex -m |
|
19 |
rev linkrev nodeid |
|
|
19 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
20 | 20 | 0 0 14a5d056d75a 000000000000 000000000000 |
|
21 | 21 | $ hg debugindex --dir foo |
|
22 |
rev linkrev nodeid |
|
|
22 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
23 | 23 | 0 0 e635c7857aef 000000000000 000000000000 |
|
24 | 24 | $ hg debugindex --dir foo/ |
|
25 |
rev linkrev nodeid |
|
|
25 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
26 | 26 | 0 0 e635c7857aef 000000000000 000000000000 |
|
27 | 27 | $ hg debugindex --dir foo/bar |
|
28 |
rev linkrev nodeid |
|
|
28 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
29 | 29 | 0 0 e091d4224761 000000000000 000000000000 |
|
30 | 30 | $ hg debugindex --dir foo/bar/ |
|
31 |
rev linkrev nodeid |
|
|
31 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
32 | 32 | 0 0 e091d4224761 000000000000 000000000000 |
|
33 | 33 | $ hg debugdata -m 0 |
|
34 | 34 | foo\x00e635c7857aef92ac761ce5741a99da159abbbb24t (esc) |
@@ -33,7 +33,7 b' create full repo' | |||
|
33 | 33 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
34 | 34 | $ cd narrow |
|
35 | 35 | $ hg debugindex -c |
|
36 |
rev linkrev nodeid |
|
|
36 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
37 | 37 | 0 0 9958b1af2add 000000000000 000000000000 |
|
38 | 38 | 1 1 2db4ce2a3bfe 9958b1af2add 000000000000 |
|
39 | 39 | 2 2 0980ee31a742 2db4ce2a3bfe 000000000000 |
@@ -65,7 +65,7 b'' | |||
|
65 | 65 | $ hg ci -m "merge" |
|
66 | 66 | |
|
67 | 67 | $ hg debugindex b |
|
68 |
rev linkrev nodeid |
|
|
68 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
69 | 69 | 0 1 57eacc201a7f 000000000000 000000000000 |
|
70 | 70 | 1 3 4727ba907962 000000000000 57eacc201a7f |
|
71 | 71 |
@@ -16,7 +16,7 b' this should be stored as a delta against' | |||
|
16 | 16 | created new head |
|
17 | 17 | |
|
18 | 18 | $ hg debugindex foo |
|
19 |
rev linkrev nodeid |
|
|
19 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
20 | 20 | 0 0 b80de5d13875 000000000000 000000000000 |
|
21 | 21 | 1 1 0376abec49b8 000000000000 000000000000 |
|
22 | 22 |
@@ -39,37 +39,37 b' 2 1 0 2 0 1 2' | |||
|
39 | 39 | > echo |
|
40 | 40 | > done |
|
41 | 41 | 012 |
|
42 |
rev linkrev nodeid |
|
|
42 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
43 | 43 | 0 0 b8e02f643373 000000000000 000000000000 |
|
44 | 44 | 1 1 5d9299349fc0 000000000000 000000000000 |
|
45 | 45 | 2 2 2661d26c6496 000000000000 000000000000 |
|
46 | 46 | |
|
47 | 47 | 021 |
|
48 |
rev linkrev nodeid |
|
|
48 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
49 | 49 | 0 0 b8e02f643373 000000000000 000000000000 |
|
50 | 50 | 1 2 5d9299349fc0 000000000000 000000000000 |
|
51 | 51 | 2 1 2661d26c6496 000000000000 000000000000 |
|
52 | 52 | |
|
53 | 53 | 102 |
|
54 |
rev linkrev nodeid |
|
|
54 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
55 | 55 | 0 1 b8e02f643373 000000000000 000000000000 |
|
56 | 56 | 1 0 5d9299349fc0 000000000000 000000000000 |
|
57 | 57 | 2 2 2661d26c6496 000000000000 000000000000 |
|
58 | 58 | |
|
59 | 59 | 120 |
|
60 |
rev linkrev nodeid |
|
|
60 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
61 | 61 | 0 1 b8e02f643373 000000000000 000000000000 |
|
62 | 62 | 1 2 5d9299349fc0 000000000000 000000000000 |
|
63 | 63 | 2 0 2661d26c6496 000000000000 000000000000 |
|
64 | 64 | |
|
65 | 65 | 201 |
|
66 |
rev linkrev nodeid |
|
|
66 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
67 | 67 | 0 2 b8e02f643373 000000000000 000000000000 |
|
68 | 68 | 1 0 5d9299349fc0 000000000000 000000000000 |
|
69 | 69 | 2 1 2661d26c6496 000000000000 000000000000 |
|
70 | 70 | |
|
71 | 71 | 210 |
|
72 |
rev linkrev nodeid |
|
|
72 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
73 | 73 | 0 2 b8e02f643373 000000000000 000000000000 |
|
74 | 74 | 1 1 5d9299349fc0 000000000000 000000000000 |
|
75 | 75 | 2 0 2661d26c6496 000000000000 000000000000 |
@@ -127,7 +127,7 b' Do a similar test where the manifest rev' | |||
|
127 | 127 | $ hg clone -q -U -r 1 -r 2 -r 3 -r 4 orig crossed |
|
128 | 128 | $ cd crossed |
|
129 | 129 | $ hg debugindex --manifest |
|
130 |
rev linkrev nodeid |
|
|
130 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
131 | 131 | 0 2 6bbc6fee55c2 000000000000 000000000000 |
|
132 | 132 | 1 0 1c556153fe54 000000000000 000000000000 |
|
133 | 133 | 2 1 1f76dba919fd 000000000000 000000000000 |
@@ -182,7 +182,7 b' Now a similar test for a non-root manife' | |||
|
182 | 182 | $ hg --config experimental.treemanifest=True clone -q -U -r 1 -r 2 -r 3 -r 4 orig crossed |
|
183 | 183 | $ cd crossed |
|
184 | 184 | $ hg debugindex --dir dir |
|
185 |
rev linkrev nodeid |
|
|
185 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
186 | 186 | 0 2 6bbc6fee55c2 000000000000 000000000000 |
|
187 | 187 | 1 0 1c556153fe54 000000000000 000000000000 |
|
188 | 188 | 2 1 1f76dba919fd 000000000000 000000000000 |
@@ -130,7 +130,7 b' Merge creates 2-parent revision of direc' | |||
|
130 | 130 | $ cat dir1/b |
|
131 | 131 | 6 |
|
132 | 132 | $ hg debugindex --dir dir1 |
|
133 |
rev linkrev nodeid |
|
|
133 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
134 | 134 | 0 1 8b3ffd73f901 000000000000 000000000000 |
|
135 | 135 | 1 2 68e9d057c5a8 8b3ffd73f901 000000000000 |
|
136 | 136 | 2 4 4698198d2624 68e9d057c5a8 000000000000 |
@@ -276,7 +276,7 b' Merge of two trees' | |||
|
276 | 276 | Parent of tree root manifest should be flat manifest, and two for merge |
|
277 | 277 | |
|
278 | 278 | $ hg debugindex -m |
|
279 |
rev linkrev nodeid |
|
|
279 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
280 | 280 | 0 0 40536115ed9e 000000000000 000000000000 |
|
281 | 281 | 1 1 f3376063c255 40536115ed9e 000000000000 |
|
282 | 282 | 2 2 5d9b9da231a2 40536115ed9e 000000000000 |
@@ -296,13 +296,13 b' Status across flat/tree boundary should ' | |||
|
296 | 296 | Turning off treemanifest config has no effect |
|
297 | 297 | |
|
298 | 298 | $ hg debugindex --dir dir1 |
|
299 |
rev linkrev nodeid |
|
|
299 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
300 | 300 | 0 4 064927a0648a 000000000000 000000000000 |
|
301 | 301 | 1 5 25ecb8cb8618 000000000000 000000000000 |
|
302 | 302 | $ echo 2 > dir1/a |
|
303 | 303 | $ hg --config experimental.treemanifest=False ci -qm 'modify dir1/a' |
|
304 | 304 | $ hg debugindex --dir dir1 |
|
305 |
rev linkrev nodeid |
|
|
305 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
306 | 306 | 0 4 064927a0648a 000000000000 000000000000 |
|
307 | 307 | 1 5 25ecb8cb8618 000000000000 000000000000 |
|
308 | 308 | 2 6 5b16163a30c6 25ecb8cb8618 000000000000 |
@@ -315,7 +315,7 b' Stripping and recovering changes should ' | |||
|
315 | 315 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
316 | 316 | saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/51cfd7b1e13b-78a2f3ed-backup.hg |
|
317 | 317 | $ hg debugindex --dir dir1 |
|
318 |
rev linkrev nodeid |
|
|
318 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
319 | 319 | 0 4 064927a0648a 000000000000 000000000000 |
|
320 | 320 | 1 5 25ecb8cb8618 000000000000 000000000000 |
|
321 | 321 | |
@@ -342,7 +342,7 b' Stripping and recovering changes should ' | |||
|
342 | 342 | saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/*-backup.hg (glob) |
|
343 | 343 | $ hg unbundle -q .hg/strip-backup/* |
|
344 | 344 | $ hg debugindex --dir dir1 |
|
345 |
rev linkrev nodeid |
|
|
345 | rev linkrev nodeid p1-nodeid p2-nodeid | |
|
346 | 346 | 0 4 064927a0648a 000000000000 000000000000 |
|
347 | 347 | 1 5 25ecb8cb8618 000000000000 000000000000 |
|
348 | 348 | 2 6 5b16163a30c6 25ecb8cb8618 000000000000 |
General Comments 0
You need to be logged in to leave comments.
Login now