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