Show More
@@ -17,7 +17,7 b'' | |||
|
17 | 17 | > hg -R test bundle -r "$i" test-"$i".hg test-"$i" |
|
18 | 18 | > cd test-"$i" |
|
19 | 19 | > hg unbundle ../test-"$i".hg |
|
20 | > hg verify | |
|
20 | > hg verify -q | |
|
21 | 21 | > hg tip -q |
|
22 | 22 | > cd .. |
|
23 | 23 | > done |
@@ -29,11 +29,6 b'' | |||
|
29 | 29 | added 1 changesets with 1 changes to 1 files |
|
30 | 30 | new changesets bfaf4b5cbf01 (1 drafts) |
|
31 | 31 | (run 'hg update' to get a working copy) |
|
32 | checking changesets | |
|
33 | checking manifests | |
|
34 | crosschecking files in changesets and manifests | |
|
35 | checking files | |
|
36 | checked 1 changesets with 1 changes to 1 files | |
|
37 | 32 | 0:bfaf4b5cbf01 |
|
38 | 33 | searching for changes |
|
39 | 34 | 2 changesets found |
@@ -43,11 +38,6 b'' | |||
|
43 | 38 | added 2 changesets with 2 changes to 1 files |
|
44 | 39 | new changesets bfaf4b5cbf01:21f32785131f (2 drafts) |
|
45 | 40 | (run 'hg update' to get a working copy) |
|
46 | checking changesets | |
|
47 | checking manifests | |
|
48 | crosschecking files in changesets and manifests | |
|
49 | checking files | |
|
50 | checked 2 changesets with 2 changes to 1 files | |
|
51 | 41 | 1:21f32785131f |
|
52 | 42 | searching for changes |
|
53 | 43 | 3 changesets found |
@@ -57,11 +47,6 b'' | |||
|
57 | 47 | added 3 changesets with 3 changes to 1 files |
|
58 | 48 | new changesets bfaf4b5cbf01:4ce51a113780 (3 drafts) |
|
59 | 49 | (run 'hg update' to get a working copy) |
|
60 | checking changesets | |
|
61 | checking manifests | |
|
62 | crosschecking files in changesets and manifests | |
|
63 | checking files | |
|
64 | checked 3 changesets with 3 changes to 1 files | |
|
65 | 50 | 2:4ce51a113780 |
|
66 | 51 | searching for changes |
|
67 | 52 | 4 changesets found |
@@ -71,11 +56,6 b'' | |||
|
71 | 56 | added 4 changesets with 4 changes to 1 files |
|
72 | 57 | new changesets bfaf4b5cbf01:93ee6ab32777 (4 drafts) |
|
73 | 58 | (run 'hg update' to get a working copy) |
|
74 | checking changesets | |
|
75 | checking manifests | |
|
76 | crosschecking files in changesets and manifests | |
|
77 | checking files | |
|
78 | checked 4 changesets with 4 changes to 1 files | |
|
79 | 59 | 3:93ee6ab32777 |
|
80 | 60 | searching for changes |
|
81 | 61 | 2 changesets found |
@@ -85,11 +65,6 b'' | |||
|
85 | 65 | added 2 changesets with 2 changes to 1 files |
|
86 | 66 | new changesets bfaf4b5cbf01:c70afb1ee985 (2 drafts) |
|
87 | 67 | (run 'hg update' to get a working copy) |
|
88 | checking changesets | |
|
89 | checking manifests | |
|
90 | crosschecking files in changesets and manifests | |
|
91 | checking files | |
|
92 | checked 2 changesets with 2 changes to 1 files | |
|
93 | 68 | 1:c70afb1ee985 |
|
94 | 69 | searching for changes |
|
95 | 70 | 3 changesets found |
@@ -99,11 +74,6 b'' | |||
|
99 | 74 | added 3 changesets with 3 changes to 1 files |
|
100 | 75 | new changesets bfaf4b5cbf01:f03ae5a9b979 (3 drafts) |
|
101 | 76 | (run 'hg update' to get a working copy) |
|
102 | checking changesets | |
|
103 | checking manifests | |
|
104 | crosschecking files in changesets and manifests | |
|
105 | checking files | |
|
106 | checked 3 changesets with 3 changes to 1 files | |
|
107 | 77 | 2:f03ae5a9b979 |
|
108 | 78 | searching for changes |
|
109 | 79 | 4 changesets found |
@@ -113,11 +83,6 b'' | |||
|
113 | 83 | added 4 changesets with 5 changes to 2 files |
|
114 | 84 | new changesets bfaf4b5cbf01:095cb14b1b4d (4 drafts) |
|
115 | 85 | (run 'hg update' to get a working copy) |
|
116 | checking changesets | |
|
117 | checking manifests | |
|
118 | crosschecking files in changesets and manifests | |
|
119 | checking files | |
|
120 | checked 4 changesets with 5 changes to 2 files | |
|
121 | 86 | 3:095cb14b1b4d |
|
122 | 87 | searching for changes |
|
123 | 88 | 5 changesets found |
@@ -127,11 +92,6 b'' | |||
|
127 | 92 | added 5 changesets with 6 changes to 3 files |
|
128 | 93 | new changesets bfaf4b5cbf01:faa2e4234c7a (5 drafts) |
|
129 | 94 | (run 'hg update' to get a working copy) |
|
130 | checking changesets | |
|
131 | checking manifests | |
|
132 | crosschecking files in changesets and manifests | |
|
133 | checking files | |
|
134 | checked 5 changesets with 6 changes to 3 files | |
|
135 | 95 | 4:faa2e4234c7a |
|
136 | 96 | searching for changes |
|
137 | 97 | 5 changesets found |
@@ -141,11 +101,6 b'' | |||
|
141 | 101 | added 5 changesets with 5 changes to 2 files |
|
142 | 102 | new changesets bfaf4b5cbf01:916f1afdef90 (5 drafts) |
|
143 | 103 | (run 'hg update' to get a working copy) |
|
144 | checking changesets | |
|
145 | checking manifests | |
|
146 | crosschecking files in changesets and manifests | |
|
147 | checking files | |
|
148 | checked 5 changesets with 5 changes to 2 files | |
|
149 | 104 | 4:916f1afdef90 |
|
150 | 105 | $ cd test-8 |
|
151 | 106 | $ hg pull ../test-7 |
@@ -158,12 +113,7 b'' | |||
|
158 | 113 | new changesets c70afb1ee985:faa2e4234c7a |
|
159 | 114 | 1 local changesets published |
|
160 | 115 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
161 | $ hg verify | |
|
162 | checking changesets | |
|
163 | checking manifests | |
|
164 | crosschecking files in changesets and manifests | |
|
165 | checking files | |
|
166 | checked 9 changesets with 7 changes to 4 files | |
|
116 | $ hg verify -q | |
|
167 | 117 | $ hg rollback |
|
168 | 118 | repository tip rolled back to revision 4 (undo pull) |
|
169 | 119 | $ cd .. |
@@ -243,12 +193,7 b' revision 8' | |||
|
243 | 193 | |
|
244 | 194 | $ hg tip -q |
|
245 | 195 | 8:916f1afdef90 |
|
246 | $ hg verify | |
|
247 | checking changesets | |
|
248 | checking manifests | |
|
249 | crosschecking files in changesets and manifests | |
|
250 | checking files | |
|
251 | checked 9 changesets with 7 changes to 4 files | |
|
196 | $ hg verify -q | |
|
252 | 197 | $ hg rollback |
|
253 | 198 | repository tip rolled back to revision 2 (undo unbundle) |
|
254 | 199 | |
@@ -268,12 +213,7 b' revision 4' | |||
|
268 | 213 | |
|
269 | 214 | $ hg tip -q |
|
270 | 215 | 4:916f1afdef90 |
|
271 | $ hg verify | |
|
272 | checking changesets | |
|
273 | checking manifests | |
|
274 | crosschecking files in changesets and manifests | |
|
275 | checking files | |
|
276 | checked 5 changesets with 5 changes to 2 files | |
|
216 | $ hg verify -q | |
|
277 | 217 | $ hg rollback |
|
278 | 218 | repository tip rolled back to revision 2 (undo unbundle) |
|
279 | 219 | $ hg unbundle ../test-bundle-branch2.hg |
@@ -288,12 +228,7 b' revision 6' | |||
|
288 | 228 | |
|
289 | 229 | $ hg tip -q |
|
290 | 230 | 6:faa2e4234c7a |
|
291 | $ hg verify | |
|
292 | checking changesets | |
|
293 | checking manifests | |
|
294 | crosschecking files in changesets and manifests | |
|
295 | checking files | |
|
296 | checked 7 changesets with 6 changes to 3 files | |
|
231 | $ hg verify -q | |
|
297 | 232 | $ hg rollback |
|
298 | 233 | repository tip rolled back to revision 2 (undo unbundle) |
|
299 | 234 | $ hg unbundle ../test-bundle-cset-7.hg |
@@ -308,12 +243,7 b' revision 4' | |||
|
308 | 243 | |
|
309 | 244 | $ hg tip -q |
|
310 | 245 | 4:916f1afdef90 |
|
311 | $ hg verify | |
|
312 | checking changesets | |
|
313 | checking manifests | |
|
314 | crosschecking files in changesets and manifests | |
|
315 | checking files | |
|
316 | checked 5 changesets with 5 changes to 2 files | |
|
246 | $ hg verify -q | |
|
317 | 247 | |
|
318 | 248 | $ cd ../test |
|
319 | 249 | $ hg merge 7 |
@@ -342,11 +272,6 b' revision 9' | |||
|
342 | 272 | |
|
343 | 273 | $ hg tip -q |
|
344 | 274 | 9:03fc0b0e347c |
|
345 | $ hg verify | |
|
346 | checking changesets | |
|
347 | checking manifests | |
|
348 | crosschecking files in changesets and manifests | |
|
349 | checking files | |
|
350 | checked 10 changesets with 7 changes to 4 files | |
|
275 | $ hg verify -q | |
|
351 | 276 | |
|
352 | 277 | $ cd .. |
@@ -28,12 +28,7 b' Setting up test' | |||
|
28 | 28 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
29 | 29 | $ hg mv afile anotherfile |
|
30 | 30 | $ hg commit -m "0.3m" |
|
31 | $ hg verify | |
|
32 | checking changesets | |
|
33 | checking manifests | |
|
34 | crosschecking files in changesets and manifests | |
|
35 | checking files | |
|
36 | checked 9 changesets with 7 changes to 4 files | |
|
31 | $ hg verify -q | |
|
37 | 32 | $ cd .. |
|
38 | 33 | $ hg init empty |
|
39 | 34 | |
@@ -70,12 +65,7 b' Verify empty' | |||
|
70 | 65 | |
|
71 | 66 | $ hg -R empty heads |
|
72 | 67 | [1] |
|
73 | $ hg -R empty verify | |
|
74 | checking changesets | |
|
75 | checking manifests | |
|
76 | crosschecking files in changesets and manifests | |
|
77 | checking files | |
|
78 | checked 0 changesets with 0 changes to 0 files | |
|
68 | $ hg -R empty verify -q | |
|
79 | 69 | |
|
80 | 70 | #if repobundlerepo |
|
81 | 71 | |
@@ -853,12 +843,7 b' full history bundle, refuses to verify n' | |||
|
853 | 843 | |
|
854 | 844 | but, regular verify must continue to work |
|
855 | 845 | |
|
856 | $ hg -R orig verify | |
|
857 | checking changesets | |
|
858 | checking manifests | |
|
859 | crosschecking files in changesets and manifests | |
|
860 | checking files | |
|
861 | checked 2 changesets with 2 changes to 2 files | |
|
846 | $ hg -R orig verify -q | |
|
862 | 847 | |
|
863 | 848 | #if repobundlerepo |
|
864 | 849 | diff against bundle |
@@ -939,12 +924,7 b' bundle single branch' | |||
|
939 | 924 | |
|
940 | 925 | $ hg clone -q -r0 . part2 |
|
941 | 926 | $ hg -q -R part2 pull bundle.hg |
|
942 | $ hg -R part2 verify | |
|
943 | checking changesets | |
|
944 | checking manifests | |
|
945 | crosschecking files in changesets and manifests | |
|
946 | checking files | |
|
947 | checked 3 changesets with 5 changes to 4 files | |
|
927 | $ hg -R part2 verify -q | |
|
948 | 928 | #endif |
|
949 | 929 | |
|
950 | 930 | == Test bundling no commits |
@@ -205,12 +205,7 b' Set censor policy to ignore in trusted $' | |||
|
205 | 205 | |
|
206 | 206 | Repo passes verification with warnings with explicit config |
|
207 | 207 | |
|
208 | $ hg verify | |
|
209 | checking changesets | |
|
210 | checking manifests | |
|
211 | crosschecking files in changesets and manifests | |
|
212 | checking files | |
|
213 | checked 5 changesets with 7 changes to 2 files | |
|
208 | $ hg verify -q | |
|
214 | 209 | |
|
215 | 210 | May update to revision with censored data with explicit config |
|
216 | 211 | |
@@ -330,24 +325,14 b' Repo with censored nodes can be cloned a' | |||
|
330 | 325 | $ hg cat -r $C1 target | head -n 10 |
|
331 | 326 | $ hg cat -r 0 target | head -n 10 |
|
332 | 327 | Initially untainted file |
|
333 | $ hg verify | |
|
334 | checking changesets | |
|
335 | checking manifests | |
|
336 | crosschecking files in changesets and manifests | |
|
337 | checking files | |
|
338 | checked 12 changesets with 13 changes to 2 files | |
|
328 | $ hg verify -q | |
|
339 | 329 | |
|
340 | 330 | Repo cloned before tainted content introduced can pull censored nodes |
|
341 | 331 | |
|
342 | 332 | $ cd ../rpull |
|
343 | 333 | $ hg cat -r tip target | head -n 10 |
|
344 | 334 | Initially untainted file |
|
345 | $ hg verify | |
|
346 | checking changesets | |
|
347 | checking manifests | |
|
348 | crosschecking files in changesets and manifests | |
|
349 | checking files | |
|
350 | checked 1 changesets with 2 changes to 2 files | |
|
335 | $ hg verify -q | |
|
351 | 336 | $ hg pull -r $H1 -r $H2 |
|
352 | 337 | pulling from $TESTTMP/r |
|
353 | 338 | searching for changes |
@@ -369,12 +354,7 b' Repo cloned before tainted content intro' | |||
|
369 | 354 | $ hg cat -r $C1 target | head -n 10 |
|
370 | 355 | $ hg cat -r 0 target | head -n 10 |
|
371 | 356 | Initially untainted file |
|
372 | $ hg verify | |
|
373 | checking changesets | |
|
374 | checking manifests | |
|
375 | crosschecking files in changesets and manifests | |
|
376 | checking files | |
|
377 | checked 12 changesets with 13 changes to 2 files | |
|
357 | $ hg verify -q | |
|
378 | 358 | |
|
379 | 359 | Censored nodes can be pushed if they censor previously unexchanged nodes |
|
380 | 360 | |
@@ -429,12 +409,7 b' Censored nodes can be bundled up and unb' | |||
|
429 | 409 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
430 | 410 | $ cat target | head -n 10 |
|
431 | 411 | Re-sanitized; nothing to see here |
|
432 | $ hg verify | |
|
433 | checking changesets | |
|
434 | checking manifests | |
|
435 | crosschecking files in changesets and manifests | |
|
436 | checking files | |
|
437 | checked 14 changesets with 15 changes to 2 files | |
|
412 | $ hg verify -q | |
|
438 | 413 | |
|
439 | 414 | Grepping only warns, doesn't error out |
|
440 | 415 | |
@@ -488,12 +463,7 b' Censored nodes can be imported on top of' | |||
|
488 | 463 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
489 | 464 | $ cat target | head -n 10 |
|
490 | 465 | Re-sanitized; nothing to see here |
|
491 | $ hg verify | |
|
492 | checking changesets | |
|
493 | checking manifests | |
|
494 | crosschecking files in changesets and manifests | |
|
495 | checking files | |
|
496 | checked 14 changesets with 15 changes to 2 files | |
|
466 | $ hg verify -q | |
|
497 | 467 | $ cd ../r |
|
498 | 468 | |
|
499 | 469 | Can import bundle where first revision of a file is censored |
@@ -43,11 +43,6 b' start a commit...' | |||
|
43 | 43 | see what happened |
|
44 | 44 | |
|
45 | 45 | $ wait |
|
46 | $ hg verify | |
|
47 | checking changesets | |
|
48 | checking manifests | |
|
49 | crosschecking files in changesets and manifests | |
|
50 | checking files | |
|
51 | checked 2 changesets with 2 changes to 1 files | |
|
46 | $ hg verify -q | |
|
52 | 47 | |
|
53 | 48 | $ cd .. |
@@ -66,12 +66,7 b'' | |||
|
66 | 66 | 5 7 09bb521d218d de68e904d169 000000000000 |
|
67 | 67 | 6 8 1fde233dfb0f f54c32f13478 000000000000 |
|
68 | 68 | |
|
69 | $ hg verify | |
|
70 | checking changesets | |
|
71 | checking manifests | |
|
72 | crosschecking files in changesets and manifests | |
|
73 | checking files | |
|
74 | checked 9 changesets with 7 changes to 4 files | |
|
69 | $ hg verify -q | |
|
75 | 70 | |
|
76 | 71 | $ cd .. |
|
77 | 72 | |
@@ -80,7 +75,7 b'' | |||
|
80 | 75 | > echo ---- hg clone -r "$i" test test-"$i" |
|
81 | 76 | > hg clone -r "$i" test test-"$i" |
|
82 | 77 | > cd test-"$i" |
|
83 | > hg verify | |
|
78 | > hg verify -q | |
|
84 | 79 | > cd .. |
|
85 | 80 | > done |
|
86 | 81 | |
@@ -92,11 +87,6 b'' | |||
|
92 | 87 | new changesets f9ee2f85a263 |
|
93 | 88 | updating to branch default |
|
94 | 89 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
95 | checking changesets | |
|
96 | checking manifests | |
|
97 | crosschecking files in changesets and manifests | |
|
98 | checking files | |
|
99 | checked 1 changesets with 1 changes to 1 files | |
|
100 | 90 | |
|
101 | 91 | ---- hg clone -r 1 test test-1 |
|
102 | 92 | adding changesets |
@@ -106,11 +96,6 b'' | |||
|
106 | 96 | new changesets f9ee2f85a263:34c2bf6b0626 |
|
107 | 97 | updating to branch default |
|
108 | 98 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
109 | checking changesets | |
|
110 | checking manifests | |
|
111 | crosschecking files in changesets and manifests | |
|
112 | checking files | |
|
113 | checked 2 changesets with 2 changes to 1 files | |
|
114 | 99 | |
|
115 | 100 | ---- hg clone -r 2 test test-2 |
|
116 | 101 | adding changesets |
@@ -120,11 +105,6 b'' | |||
|
120 | 105 | new changesets f9ee2f85a263:e38ba6f5b7e0 |
|
121 | 106 | updating to branch default |
|
122 | 107 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
123 | checking changesets | |
|
124 | checking manifests | |
|
125 | crosschecking files in changesets and manifests | |
|
126 | checking files | |
|
127 | checked 3 changesets with 3 changes to 1 files | |
|
128 | 108 | |
|
129 | 109 | ---- hg clone -r 3 test test-3 |
|
130 | 110 | adding changesets |
@@ -134,11 +114,6 b'' | |||
|
134 | 114 | new changesets f9ee2f85a263:eebf5a27f8ca |
|
135 | 115 | updating to branch default |
|
136 | 116 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
137 | checking changesets | |
|
138 | checking manifests | |
|
139 | crosschecking files in changesets and manifests | |
|
140 | checking files | |
|
141 | checked 4 changesets with 4 changes to 1 files | |
|
142 | 117 | |
|
143 | 118 | ---- hg clone -r 4 test test-4 |
|
144 | 119 | adding changesets |
@@ -148,11 +123,6 b'' | |||
|
148 | 123 | new changesets f9ee2f85a263:095197eb4973 |
|
149 | 124 | updating to branch default |
|
150 | 125 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
151 | checking changesets | |
|
152 | checking manifests | |
|
153 | crosschecking files in changesets and manifests | |
|
154 | checking files | |
|
155 | checked 2 changesets with 2 changes to 1 files | |
|
156 | 126 | |
|
157 | 127 | ---- hg clone -r 5 test test-5 |
|
158 | 128 | adding changesets |
@@ -162,11 +132,6 b'' | |||
|
162 | 132 | new changesets f9ee2f85a263:1bb50a9436a7 |
|
163 | 133 | updating to branch default |
|
164 | 134 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
165 | checking changesets | |
|
166 | checking manifests | |
|
167 | crosschecking files in changesets and manifests | |
|
168 | checking files | |
|
169 | checked 3 changesets with 3 changes to 1 files | |
|
170 | 135 | |
|
171 | 136 | ---- hg clone -r 6 test test-6 |
|
172 | 137 | adding changesets |
@@ -176,11 +141,6 b'' | |||
|
176 | 141 | new changesets f9ee2f85a263:7373c1169842 |
|
177 | 142 | updating to branch default |
|
178 | 143 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
179 | checking changesets | |
|
180 | checking manifests | |
|
181 | crosschecking files in changesets and manifests | |
|
182 | checking files | |
|
183 | checked 4 changesets with 5 changes to 2 files | |
|
184 | 144 | |
|
185 | 145 | ---- hg clone -r 7 test test-7 |
|
186 | 146 | adding changesets |
@@ -190,11 +150,6 b'' | |||
|
190 | 150 | new changesets f9ee2f85a263:a6a34bfa0076 |
|
191 | 151 | updating to branch default |
|
192 | 152 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
193 | checking changesets | |
|
194 | checking manifests | |
|
195 | crosschecking files in changesets and manifests | |
|
196 | checking files | |
|
197 | checked 5 changesets with 6 changes to 3 files | |
|
198 | 153 | |
|
199 | 154 | ---- hg clone -r 8 test test-8 |
|
200 | 155 | adding changesets |
@@ -204,11 +159,6 b'' | |||
|
204 | 159 | new changesets f9ee2f85a263:aa35859c02ea |
|
205 | 160 | updating to branch default |
|
206 | 161 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
207 | checking changesets | |
|
208 | checking manifests | |
|
209 | crosschecking files in changesets and manifests | |
|
210 | checking files | |
|
211 | checked 5 changesets with 5 changes to 2 files | |
|
212 | 162 | |
|
213 | 163 | $ cd test-8 |
|
214 | 164 | $ hg pull ../test-7 |
@@ -220,12 +170,7 b'' | |||
|
220 | 170 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
221 | 171 | new changesets 095197eb4973:a6a34bfa0076 |
|
222 | 172 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
223 | $ hg verify | |
|
224 | checking changesets | |
|
225 | checking manifests | |
|
226 | crosschecking files in changesets and manifests | |
|
227 | checking files | |
|
228 | checked 9 changesets with 7 changes to 4 files | |
|
173 | $ hg verify -q | |
|
229 | 174 | $ cd .. |
|
230 | 175 | |
|
231 | 176 | $ hg clone test test-9 |
@@ -110,12 +110,7 b' tests, and dot-encode need the store ena' | |||
|
110 | 110 | new changesets 96ee1d7354c4:06ddac466af5 |
|
111 | 111 | updating to branch default |
|
112 | 112 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
113 | $ hg verify -R server-no-store | |
|
114 | checking changesets | |
|
115 | checking manifests | |
|
116 | crosschecking files in changesets and manifests | |
|
117 | checking files | |
|
118 | checked 5004 changesets with 1088 changes to 1088 files | |
|
113 | $ hg verify -R server-no-store -q | |
|
119 | 114 | $ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
|
120 | 115 | $ cat hg-1.pid > $DAEMON_PIDS |
|
121 | 116 | $ hg -R server-no-store serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
@@ -129,12 +124,7 b' store \xe2\x86\x92 no-store cloning' | |||
|
129 | 124 | |
|
130 | 125 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-store --config format.usestore=no |
|
131 | 126 | $ cat errors-1.txt |
|
132 | $ hg -R clone-remove-store verify | |
|
133 | checking changesets | |
|
134 | checking manifests | |
|
135 | crosschecking files in changesets and manifests | |
|
136 | checking files | |
|
137 | checked 5004 changesets with 1088 changes to 1088 files | |
|
127 | $ hg -R clone-remove-store verify -q | |
|
138 | 128 | $ hg debugrequires -R clone-remove-store | grep store |
|
139 | 129 | [1] |
|
140 | 130 | |
@@ -143,12 +133,7 b' no-store \xe2\x86\x92 store cloning' | |||
|
143 | 133 | |
|
144 | 134 | $ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-store --config format.usestore=yes |
|
145 | 135 | $ cat errors-2.txt |
|
146 | $ hg -R clone-add-store verify | |
|
147 | checking changesets | |
|
148 | checking manifests | |
|
149 | crosschecking files in changesets and manifests | |
|
150 | checking files | |
|
151 | checked 5004 changesets with 1088 changes to 1088 files | |
|
136 | $ hg -R clone-add-store verify -q | |
|
152 | 137 | $ hg debugrequires -R clone-add-store | grep store |
|
153 | 138 | store |
|
154 | 139 | |
@@ -171,12 +156,7 b' Test streaming from/to repository withou' | |||
|
171 | 156 | new changesets 96ee1d7354c4:06ddac466af5 |
|
172 | 157 | updating to branch default |
|
173 | 158 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
174 | $ hg verify -R server-no-fncache | |
|
175 | checking changesets | |
|
176 | checking manifests | |
|
177 | crosschecking files in changesets and manifests | |
|
178 | checking files | |
|
179 | checked 5004 changesets with 1088 changes to 1088 files | |
|
159 | $ hg verify -R server-no-fncache -q | |
|
180 | 160 | $ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
|
181 | 161 | $ cat hg-1.pid > $DAEMON_PIDS |
|
182 | 162 | $ hg -R server-no-fncache serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
@@ -190,12 +170,7 b' fncache \xe2\x86\x92 no-fncache cloning' | |||
|
190 | 170 | |
|
191 | 171 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-fncache --config format.usefncache=no |
|
192 | 172 | $ cat errors-1.txt |
|
193 | $ hg -R clone-remove-fncache verify | |
|
194 | checking changesets | |
|
195 | checking manifests | |
|
196 | crosschecking files in changesets and manifests | |
|
197 | checking files | |
|
198 | checked 5004 changesets with 1088 changes to 1088 files | |
|
173 | $ hg -R clone-remove-fncache verify -q | |
|
199 | 174 | $ hg debugrequires -R clone-remove-fncache | grep fncache |
|
200 | 175 | [1] |
|
201 | 176 | |
@@ -204,12 +179,7 b' no-fncache \xe2\x86\x92 fncache cloning' | |||
|
204 | 179 | |
|
205 | 180 | $ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-fncache --config format.usefncache=yes |
|
206 | 181 | $ cat errors-2.txt |
|
207 | $ hg -R clone-add-fncache verify | |
|
208 | checking changesets | |
|
209 | checking manifests | |
|
210 | crosschecking files in changesets and manifests | |
|
211 | checking files | |
|
212 | checked 5004 changesets with 1088 changes to 1088 files | |
|
182 | $ hg -R clone-add-fncache verify -q | |
|
213 | 183 | $ hg debugrequires -R clone-add-fncache | grep fncache |
|
214 | 184 | fncache |
|
215 | 185 | |
@@ -231,12 +201,7 b' Test streaming from/to repository withou' | |||
|
231 | 201 | new changesets 96ee1d7354c4:06ddac466af5 |
|
232 | 202 | updating to branch default |
|
233 | 203 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
234 | $ hg verify -R server-no-dotencode | |
|
235 | checking changesets | |
|
236 | checking manifests | |
|
237 | crosschecking files in changesets and manifests | |
|
238 | checking files | |
|
239 | checked 5004 changesets with 1088 changes to 1088 files | |
|
204 | $ hg verify -R server-no-dotencode -q | |
|
240 | 205 | $ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
|
241 | 206 | $ cat hg-1.pid > $DAEMON_PIDS |
|
242 | 207 | $ hg -R server-no-dotencode serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
@@ -250,12 +215,7 b' dotencode \xe2\x86\x92 no-dotencode cloning' | |||
|
250 | 215 | |
|
251 | 216 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-dotencode --config format.dotencode=no |
|
252 | 217 | $ cat errors-1.txt |
|
253 | $ hg -R clone-remove-dotencode verify | |
|
254 | checking changesets | |
|
255 | checking manifests | |
|
256 | crosschecking files in changesets and manifests | |
|
257 | checking files | |
|
258 | checked 5004 changesets with 1088 changes to 1088 files | |
|
218 | $ hg -R clone-remove-dotencode verify -q | |
|
259 | 219 | $ hg debugrequires -R clone-remove-dotencode | grep dotencode |
|
260 | 220 | [1] |
|
261 | 221 | |
@@ -264,12 +224,7 b' no-dotencode \xe2\x86\x92 dotencode cloning' | |||
|
264 | 224 | |
|
265 | 225 | $ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-dotencode --config format.dotencode=yes |
|
266 | 226 | $ cat errors-2.txt |
|
267 | $ hg -R clone-add-dotencode verify | |
|
268 | checking changesets | |
|
269 | checking manifests | |
|
270 | crosschecking files in changesets and manifests | |
|
271 | checking files | |
|
272 | checked 5004 changesets with 1088 changes to 1088 files | |
|
227 | $ hg -R clone-add-dotencode verify -q | |
|
273 | 228 | $ hg debugrequires -R clone-add-dotencode | grep dotencode |
|
274 | 229 | dotencode |
|
275 | 230 | |
@@ -289,12 +244,7 b' The resulting clone should not use share' | |||
|
289 | 244 | $ cat hg-1.pid > $DAEMON_PIDS |
|
290 | 245 | |
|
291 | 246 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-from-share |
|
292 | $ hg -R clone-from-share verify | |
|
293 | checking changesets | |
|
294 | checking manifests | |
|
295 | crosschecking files in changesets and manifests | |
|
296 | checking files | |
|
297 | checked 5004 changesets with 1088 changes to 1088 files | |
|
247 | $ hg -R clone-from-share verify -q | |
|
298 | 248 | $ hg debugrequires -R clone-from-share | egrep 'share$' |
|
299 | 249 | [1] |
|
300 | 250 | |
@@ -313,12 +263,7 b' Test streaming from/to repository withou' | |||
|
313 | 263 | new changesets 96ee1d7354c4:06ddac466af5 |
|
314 | 264 | updating to branch default |
|
315 | 265 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
316 | $ hg verify -R server-no-share-safe | |
|
317 | checking changesets | |
|
318 | checking manifests | |
|
319 | crosschecking files in changesets and manifests | |
|
320 | checking files | |
|
321 | checked 5004 changesets with 1088 changes to 1088 files | |
|
266 | $ hg verify -R server-no-share-safe -q | |
|
322 | 267 | $ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
|
323 | 268 | $ cat hg-1.pid > $DAEMON_PIDS |
|
324 | 269 | $ hg -R server-no-share-safe serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
@@ -332,12 +277,7 b' share-safe \xe2\x86\x92 no-share-safe cloning' | |||
|
332 | 277 | |
|
333 | 278 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-share-safe --config format.use-share-safe=no |
|
334 | 279 | $ cat errors-1.txt |
|
335 | $ hg -R clone-remove-share-safe verify | |
|
336 | checking changesets | |
|
337 | checking manifests | |
|
338 | crosschecking files in changesets and manifests | |
|
339 | checking files | |
|
340 | checked 5004 changesets with 1088 changes to 1088 files | |
|
280 | $ hg -R clone-remove-share-safe verify -q | |
|
341 | 281 | $ hg debugrequires -R clone-remove-share-safe | grep share-safe |
|
342 | 282 | [1] |
|
343 | 283 | |
@@ -346,12 +286,7 b' no-share-safe \xe2\x86\x92 share-safe cloning' | |||
|
346 | 286 | |
|
347 | 287 | $ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-share-safe --config format.use-share-safe=yes |
|
348 | 288 | $ cat errors-2.txt |
|
349 | $ hg -R clone-add-share-safe verify | |
|
350 | checking changesets | |
|
351 | checking manifests | |
|
352 | crosschecking files in changesets and manifests | |
|
353 | checking files | |
|
354 | checked 5004 changesets with 1088 changes to 1088 files | |
|
289 | $ hg -R clone-add-share-safe verify -q | |
|
355 | 290 | $ hg debugrequires -R clone-add-share-safe | grep share-safe |
|
356 | 291 | share-safe |
|
357 | 292 | |
@@ -374,12 +309,7 b' persistent nodemap affects revlog, but t' | |||
|
374 | 309 | new changesets 96ee1d7354c4:06ddac466af5 |
|
375 | 310 | updating to branch default |
|
376 | 311 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
377 | $ hg verify -R server-no-persistent-nodemap | |
|
378 | checking changesets | |
|
379 | checking manifests | |
|
380 | crosschecking files in changesets and manifests | |
|
381 | checking files | |
|
382 | checked 5004 changesets with 1088 changes to 1088 files | |
|
312 | $ hg verify -R server-no-persistent-nodemap -q | |
|
383 | 313 | $ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
|
384 | 314 | $ cat hg-1.pid > $DAEMON_PIDS |
|
385 | 315 | $ hg -R server-no-persistent-nodemap serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
@@ -401,12 +331,7 b' persistent-nodemap \xe2\x86\x92 no-persistent-nodemap cloning' | |||
|
401 | 331 | |
|
402 | 332 | $ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-persistent-nodemap --config format.use-persistent-nodemap=no |
|
403 | 333 | $ cat errors-1.txt |
|
404 | $ hg -R clone-remove-persistent-nodemap verify | |
|
405 | checking changesets | |
|
406 | checking manifests | |
|
407 | crosschecking files in changesets and manifests | |
|
408 | checking files | |
|
409 | checked 5004 changesets with 1088 changes to 1088 files | |
|
334 | $ hg -R clone-remove-persistent-nodemap verify -q | |
|
410 | 335 | $ hg debugrequires -R clone-remove-persistent-nodemap | grep persistent-nodemap |
|
411 | 336 | [1] |
|
412 | 337 | |
@@ -421,12 +346,7 b' no-persistent-nodemap \xe2\x86\x92 persistent-nodemap cloning' | |||
|
421 | 346 | |
|
422 | 347 | $ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-persistent-nodemap --config format.use-persistent-nodemap=yes |
|
423 | 348 | $ cat errors-2.txt |
|
424 | $ hg -R clone-add-persistent-nodemap verify | |
|
425 | checking changesets | |
|
426 | checking manifests | |
|
427 | crosschecking files in changesets and manifests | |
|
428 | checking files | |
|
429 | checked 5004 changesets with 1088 changes to 1088 files | |
|
349 | $ hg -R clone-add-persistent-nodemap verify -q | |
|
430 | 350 | $ hg debugrequires -R clone-add-persistent-nodemap | grep persistent-nodemap |
|
431 | 351 | persistent-nodemap |
|
432 | 352 |
@@ -94,12 +94,7 b' This is present here to reuse the testin' | |||
|
94 | 94 | |
|
95 | 95 | Check that the clone went well |
|
96 | 96 | |
|
97 | $ hg verify -R local-clone | |
|
98 | checking changesets | |
|
99 | checking manifests | |
|
100 | crosschecking files in changesets and manifests | |
|
101 | checking files | |
|
102 | checked 3 changesets with 1088 changes to 1088 files | |
|
97 | $ hg verify -R local-clone -q | |
|
103 | 98 | |
|
104 | 99 | Check uncompressed |
|
105 | 100 |
|
@@ -651,12 +646,7 b' clone it' | |||
|
651 | 646 | updating to branch default |
|
652 | 647 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
653 | 648 | #endif |
|
654 | $ hg verify -R with-bookmarks | |
|
655 | checking changesets | |
|
656 | checking manifests | |
|
657 | crosschecking files in changesets and manifests | |
|
658 | checking files | |
|
659 | checked 3 changesets with 1088 changes to 1088 files | |
|
649 | $ hg verify -R with-bookmarks -q | |
|
660 | 650 | $ hg -R with-bookmarks bookmarks |
|
661 | 651 | some-bookmark 2:5223b5e3265f |
|
662 | 652 | |
@@ -692,12 +682,7 b' Clone as publishing' | |||
|
692 | 682 | updating to branch default |
|
693 | 683 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
694 | 684 | #endif |
|
695 | $ hg verify -R phase-publish | |
|
696 | checking changesets | |
|
697 | checking manifests | |
|
698 | crosschecking files in changesets and manifests | |
|
699 | checking files | |
|
700 | checked 3 changesets with 1088 changes to 1088 files | |
|
685 | $ hg verify -R phase-publish -q | |
|
701 | 686 | $ hg -R phase-publish phase -r 'all()' |
|
702 | 687 | 0: public |
|
703 | 688 | 1: public |
@@ -747,12 +732,7 b' stream v1 unsuitable for non-publishing ' | |||
|
747 | 732 | 1: draft |
|
748 | 733 | 2: draft |
|
749 | 734 | #endif |
|
750 | $ hg verify -R phase-no-publish | |
|
751 | checking changesets | |
|
752 | checking manifests | |
|
753 | crosschecking files in changesets and manifests | |
|
754 | checking files | |
|
755 | checked 3 changesets with 1088 changes to 1088 files | |
|
735 | $ hg verify -R phase-no-publish -q | |
|
756 | 736 | |
|
757 | 737 | $ killdaemons.py |
|
758 | 738 | |
@@ -801,12 +781,7 b' Clone non-publishing with obsolescence' | |||
|
801 | 781 | 0: draft |
|
802 | 782 | $ hg debugobsolete -R with-obsolescence |
|
803 | 783 | 8c206a663911c1f97f2f9d7382e417ae55872cfa 0 {5223b5e3265f0df40bb743da62249413d74ac70f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
804 | $ hg verify -R with-obsolescence | |
|
805 | checking changesets | |
|
806 | checking manifests | |
|
807 | crosschecking files in changesets and manifests | |
|
808 | checking files | |
|
809 | checked 4 changesets with 1089 changes to 1088 files | |
|
784 | $ hg verify -R with-obsolescence -q | |
|
810 | 785 | |
|
811 | 786 | $ hg clone -U --stream --config experimental.evolution=0 http://localhost:$HGPORT with-obsolescence-no-evolution |
|
812 | 787 | streaming all changes |
@@ -59,12 +59,7 b' Ensure branchcache got copied over:' | |||
|
59 | 59 | |
|
60 | 60 | $ cat a |
|
61 | 61 | a |
|
62 | $ hg verify | |
|
63 | checking changesets | |
|
64 | checking manifests | |
|
65 | crosschecking files in changesets and manifests | |
|
66 | checking files | |
|
67 | checked 11 changesets with 11 changes to 2 files | |
|
62 | $ hg verify -q | |
|
68 | 63 | |
|
69 | 64 | Invalid dest '' must abort: |
|
70 | 65 | |
@@ -122,12 +117,7 b' Ensure branchcache got copied over:' | |||
|
122 | 117 | |
|
123 | 118 | $ cat a 2>/dev/null || echo "a not present" |
|
124 | 119 | a not present |
|
125 | $ hg verify | |
|
126 | checking changesets | |
|
127 | checking manifests | |
|
128 | crosschecking files in changesets and manifests | |
|
129 | checking files | |
|
130 | checked 11 changesets with 11 changes to 2 files | |
|
120 | $ hg verify -q | |
|
131 | 121 | |
|
132 | 122 | Default destination: |
|
133 | 123 | |
@@ -167,12 +157,7 b' Use --pull:' | |||
|
167 | 157 | new changesets acb14030fe0a:a7949464abda |
|
168 | 158 | updating to branch default |
|
169 | 159 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
170 | $ hg -R g verify | |
|
171 | checking changesets | |
|
172 | checking manifests | |
|
173 | crosschecking files in changesets and manifests | |
|
174 | checking files | |
|
175 | checked 11 changesets with 11 changes to 2 files | |
|
160 | $ hg -R g verify -q | |
|
176 | 161 | |
|
177 | 162 | Invalid dest '' with --pull must abort (issue2528): |
|
178 | 163 |
@@ -14,12 +14,7 b'' | |||
|
14 | 14 | |
|
15 | 15 | $ echo adding more to file a >> a |
|
16 | 16 | $ hg commit -m third |
|
17 | $ hg verify | |
|
18 | checking changesets | |
|
19 | checking manifests | |
|
20 | crosschecking files in changesets and manifests | |
|
21 | checking files | |
|
22 | checked 3 changesets with 3 changes to 1 files | |
|
17 | $ hg verify -q | |
|
23 | 18 | |
|
24 | 19 | Dumping revlog of file a to stdout: |
|
25 | 20 | $ "$PYTHON" "$CONTRIBDIR/dumprevlog" .hg/store/data/a.i |
@@ -79,12 +74,7 b' Rebuild fncache with clone --pull:' | |||
|
79 | 74 | |
|
80 | 75 | Verify: |
|
81 | 76 | |
|
82 | $ hg -R repo-c verify | |
|
83 | checking changesets | |
|
84 | checking manifests | |
|
85 | crosschecking files in changesets and manifests | |
|
86 | checking files | |
|
87 | checked 3 changesets with 3 changes to 1 files | |
|
77 | $ hg -R repo-c verify -q | |
|
88 | 78 | |
|
89 | 79 | Compare repos: |
|
90 | 80 |
@@ -312,12 +312,7 b' ensure that the filemap contains duplica' | |||
|
312 | 312 | | |
|
313 | 313 | o 0 "0: add foo baz dir/" files: dir2/dir3/file dir2/dir3/subdir/file3 foo2 |
|
314 | 314 | |
|
315 | $ hg -R renames.repo verify | |
|
316 | checking changesets | |
|
317 | checking manifests | |
|
318 | crosschecking files in changesets and manifests | |
|
319 | checking files | |
|
320 | checked 5 changesets with 7 changes to 4 files | |
|
315 | $ hg -R renames.repo verify -q | |
|
321 | 316 | |
|
322 | 317 | $ hg -R renames.repo manifest --debug |
|
323 | 318 | d43feacba7a4f1f2080dde4a4b985bd8a0236d46 644 copied2 |
@@ -188,12 +188,7 b' break it' | |||
|
188 | 188 | 2 changebagain |
|
189 | 189 | 1 merge |
|
190 | 190 | 0 moveb |
|
191 | $ hg -R fixed verify | |
|
192 | checking changesets | |
|
193 | checking manifests | |
|
194 | crosschecking files in changesets and manifests | |
|
195 | checking files | |
|
196 | checked 5 changesets with 5 changes to 3 files | |
|
191 | $ hg -R fixed verify -q | |
|
197 | 192 | |
|
198 | 193 | manifest -r 0 |
|
199 | 194 |
@@ -96,12 +96,7 b' this should show the rename information ' | |||
|
96 | 96 | $ hg cat a > asum |
|
97 | 97 | $ md5sum.py asum |
|
98 | 98 | 60b725f10c9c85c70d97880dfe8191b3 asum |
|
99 | $ hg verify | |
|
100 | checking changesets | |
|
101 | checking manifests | |
|
102 | crosschecking files in changesets and manifests | |
|
103 | checking files | |
|
104 | checked 2 changesets with 2 changes to 2 files | |
|
99 | $ hg verify -q | |
|
105 | 100 | |
|
106 | 101 | $ cd .. |
|
107 | 102 |
@@ -9,12 +9,7 b' Try some commands:' | |||
|
9 | 9 | $ hg grep wah |
|
10 | 10 | [1] |
|
11 | 11 | $ hg manifest |
|
12 | $ hg verify | |
|
13 | checking changesets | |
|
14 | checking manifests | |
|
15 | crosschecking files in changesets and manifests | |
|
16 | checking files | |
|
17 | checked 0 changesets with 0 changes to 0 files | |
|
12 | $ hg verify -q | |
|
18 | 13 | |
|
19 | 14 | Check the basic files created: |
|
20 | 15 | |
@@ -37,12 +32,7 b' Poke at a clone:' | |||
|
37 | 32 | updating to branch default |
|
38 | 33 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
39 | 34 | $ cd b |
|
40 | $ hg verify | |
|
41 | checking changesets | |
|
42 | checking manifests | |
|
43 | crosschecking files in changesets and manifests | |
|
44 | checking files | |
|
45 | checked 0 changesets with 0 changes to 0 files | |
|
35 | $ hg verify -q | |
|
46 | 36 | $ ls .hg |
|
47 | 37 | 00changelog.i |
|
48 | 38 | cache |
@@ -93,9 +93,4 b' revision 4' | |||
|
93 | 93 | 0 0 2ed2a3912a0b 000000000000 000000000000 |
|
94 | 94 | 1 1 79d7492df40a 2ed2a3912a0b 000000000000 |
|
95 | 95 | |
|
96 | $ hg verify | |
|
97 | checking changesets | |
|
98 | checking manifests | |
|
99 | crosschecking files in changesets and manifests | |
|
100 | checking files | |
|
101 | checked 5 changesets with 4 changes to 2 files | |
|
96 | $ hg verify -q |
@@ -135,11 +135,6 b' Everything should be clean now:' | |||
|
135 | 135 | |
|
136 | 136 | $ hg status |
|
137 | 137 | |
|
138 | $ hg verify | |
|
139 | checking changesets | |
|
140 | checking manifests | |
|
141 | crosschecking files in changesets and manifests | |
|
142 | checking files | |
|
143 | checked 4 changesets with 10 changes to 4 files | |
|
138 | $ hg verify -q | |
|
144 | 139 | |
|
145 | 140 | $ cd .. |
@@ -49,12 +49,7 b' Testing a.i.hg/c:' | |||
|
49 | 49 | |
|
50 | 50 | Testing verify: |
|
51 | 51 | |
|
52 | $ hg verify | |
|
53 | checking changesets | |
|
54 | checking manifests | |
|
55 | crosschecking files in changesets and manifests | |
|
56 | checking files | |
|
57 | checked 3 changesets with 3 changes to 3 files | |
|
52 | $ hg verify -q | |
|
58 | 53 | |
|
59 | 54 | $ rm .hg/store/fncache |
|
60 | 55 | |
@@ -78,12 +73,7 b' Follow the hint to make sure it works' | |||
|
78 | 73 | adding data/a.i/b.i |
|
79 | 74 | 3 items added, 0 removed from fncache |
|
80 | 75 | |
|
81 | $ hg verify | |
|
82 | checking changesets | |
|
83 | checking manifests | |
|
84 | crosschecking files in changesets and manifests | |
|
85 | checking files | |
|
86 | checked 3 changesets with 3 changes to 3 files | |
|
76 | $ hg verify -q | |
|
87 | 77 | |
|
88 | 78 | $ cd .. |
|
89 | 79 |
@@ -151,12 +151,7 b' Create a non-inlined filelog in r3:' | |||
|
151 | 151 | |
|
152 | 152 | Push to repo r1 should break up most hardlinks in r2: |
|
153 | 153 | |
|
154 | $ hg -R r2 verify | |
|
155 | checking changesets | |
|
156 | checking manifests | |
|
157 | crosschecking files in changesets and manifests | |
|
158 | checking files | |
|
159 | checked 2 changesets with 2 changes to 2 files | |
|
154 | $ hg -R r2 verify -q | |
|
160 | 155 | |
|
161 | 156 | $ cd r3 |
|
162 | 157 | $ hg push |
@@ -182,13 +177,7 b' Push to repo r1 should break up most har' | |||
|
182 | 177 | 1 r2/.hg/store/fncache |
|
183 | 178 | #endif |
|
184 | 179 | |
|
185 | $ hg -R r2 verify | |
|
186 | checking changesets | |
|
187 | checking manifests | |
|
188 | crosschecking files in changesets and manifests | |
|
189 | checking files | |
|
190 | checked 2 changesets with 2 changes to 2 files | |
|
191 | ||
|
180 | $ hg -R r2 verify -q | |
|
192 | 181 | |
|
193 | 182 | $ cd r1 |
|
194 | 183 | $ hg up |
@@ -45,12 +45,7 b' clone via stream' | |||
|
45 | 45 | no changes found |
|
46 | 46 | updating to branch default |
|
47 | 47 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
48 | $ hg verify -R copy | |
|
49 | checking changesets | |
|
50 | checking manifests | |
|
51 | crosschecking files in changesets and manifests | |
|
52 | checking files | |
|
53 | checked 1 changesets with 4 changes to 4 files | |
|
48 | $ hg verify -R copy -q | |
|
54 | 49 | #endif |
|
55 | 50 | |
|
56 | 51 | try to clone via stream, should use pull instead |
@@ -99,12 +94,7 b' clone via pull' | |||
|
99 | 94 | new changesets 8b6053c928fe |
|
100 | 95 | updating to branch default |
|
101 | 96 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
102 | $ hg verify -R copy-pull | |
|
103 | checking changesets | |
|
104 | checking manifests | |
|
105 | crosschecking files in changesets and manifests | |
|
106 | checking files | |
|
107 | checked 1 changesets with 4 changes to 4 files | |
|
97 | $ hg verify -R copy-pull -q | |
|
108 | 98 | $ cd test |
|
109 | 99 | $ echo bar > bar |
|
110 | 100 | $ hg commit -A -d '1 0' -m 2 |
@@ -25,7 +25,7 b' clone remote via stream' | |||
|
25 | 25 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
26 | 26 | > hg clone -r "$i" http://localhost:$HGPORT/ test-"$i" |
|
27 | 27 | > if cd test-"$i"; then |
|
28 | > hg verify | |
|
28 | > hg verify -q | |
|
29 | 29 | > cd .. |
|
30 | 30 | > fi |
|
31 | 31 | > done |
@@ -36,11 +36,6 b' clone remote via stream' | |||
|
36 | 36 | new changesets bfaf4b5cbf01 |
|
37 | 37 | updating to branch default |
|
38 | 38 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
39 | checking changesets | |
|
40 | checking manifests | |
|
41 | crosschecking files in changesets and manifests | |
|
42 | checking files | |
|
43 | checked 1 changesets with 1 changes to 1 files | |
|
44 | 39 | adding changesets |
|
45 | 40 | adding manifests |
|
46 | 41 | adding file changes |
@@ -48,11 +43,6 b' clone remote via stream' | |||
|
48 | 43 | new changesets bfaf4b5cbf01:21f32785131f |
|
49 | 44 | updating to branch default |
|
50 | 45 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
51 | checking changesets | |
|
52 | checking manifests | |
|
53 | crosschecking files in changesets and manifests | |
|
54 | checking files | |
|
55 | checked 2 changesets with 2 changes to 1 files | |
|
56 | 46 | adding changesets |
|
57 | 47 | adding manifests |
|
58 | 48 | adding file changes |
@@ -60,11 +50,6 b' clone remote via stream' | |||
|
60 | 50 | new changesets bfaf4b5cbf01:4ce51a113780 |
|
61 | 51 | updating to branch default |
|
62 | 52 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
63 | checking changesets | |
|
64 | checking manifests | |
|
65 | crosschecking files in changesets and manifests | |
|
66 | checking files | |
|
67 | checked 3 changesets with 3 changes to 1 files | |
|
68 | 53 | adding changesets |
|
69 | 54 | adding manifests |
|
70 | 55 | adding file changes |
@@ -72,11 +57,6 b' clone remote via stream' | |||
|
72 | 57 | new changesets bfaf4b5cbf01:93ee6ab32777 |
|
73 | 58 | updating to branch default |
|
74 | 59 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
75 | checking changesets | |
|
76 | checking manifests | |
|
77 | crosschecking files in changesets and manifests | |
|
78 | checking files | |
|
79 | checked 4 changesets with 4 changes to 1 files | |
|
80 | 60 | adding changesets |
|
81 | 61 | adding manifests |
|
82 | 62 | adding file changes |
@@ -84,11 +64,6 b' clone remote via stream' | |||
|
84 | 64 | new changesets bfaf4b5cbf01:c70afb1ee985 |
|
85 | 65 | updating to branch default |
|
86 | 66 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
87 | checking changesets | |
|
88 | checking manifests | |
|
89 | crosschecking files in changesets and manifests | |
|
90 | checking files | |
|
91 | checked 2 changesets with 2 changes to 1 files | |
|
92 | 67 | adding changesets |
|
93 | 68 | adding manifests |
|
94 | 69 | adding file changes |
@@ -96,11 +71,6 b' clone remote via stream' | |||
|
96 | 71 | new changesets bfaf4b5cbf01:f03ae5a9b979 |
|
97 | 72 | updating to branch default |
|
98 | 73 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
99 | checking changesets | |
|
100 | checking manifests | |
|
101 | crosschecking files in changesets and manifests | |
|
102 | checking files | |
|
103 | checked 3 changesets with 3 changes to 1 files | |
|
104 | 74 | adding changesets |
|
105 | 75 | adding manifests |
|
106 | 76 | adding file changes |
@@ -108,11 +78,6 b' clone remote via stream' | |||
|
108 | 78 | new changesets bfaf4b5cbf01:095cb14b1b4d |
|
109 | 79 | updating to branch default |
|
110 | 80 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
111 | checking changesets | |
|
112 | checking manifests | |
|
113 | crosschecking files in changesets and manifests | |
|
114 | checking files | |
|
115 | checked 4 changesets with 5 changes to 2 files | |
|
116 | 81 | adding changesets |
|
117 | 82 | adding manifests |
|
118 | 83 | adding file changes |
@@ -120,11 +85,6 b' clone remote via stream' | |||
|
120 | 85 | new changesets bfaf4b5cbf01:faa2e4234c7a |
|
121 | 86 | updating to branch default |
|
122 | 87 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
123 | checking changesets | |
|
124 | checking manifests | |
|
125 | crosschecking files in changesets and manifests | |
|
126 | checking files | |
|
127 | checked 5 changesets with 6 changes to 3 files | |
|
128 | 88 | adding changesets |
|
129 | 89 | adding manifests |
|
130 | 90 | adding file changes |
@@ -132,11 +92,6 b' clone remote via stream' | |||
|
132 | 92 | new changesets bfaf4b5cbf01:916f1afdef90 |
|
133 | 93 | updating to branch default |
|
134 | 94 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
135 | checking changesets | |
|
136 | checking manifests | |
|
137 | crosschecking files in changesets and manifests | |
|
138 | checking files | |
|
139 | checked 5 changesets with 5 changes to 2 files | |
|
140 | 95 | $ cd test-8 |
|
141 | 96 | $ hg pull ../test-7 |
|
142 | 97 | pulling from ../test-7 |
@@ -147,12 +102,7 b' clone remote via stream' | |||
|
147 | 102 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
148 | 103 | new changesets c70afb1ee985:faa2e4234c7a |
|
149 | 104 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
150 | $ hg verify | |
|
151 | checking changesets | |
|
152 | checking manifests | |
|
153 | crosschecking files in changesets and manifests | |
|
154 | checking files | |
|
155 | checked 9 changesets with 7 changes to 4 files | |
|
105 | $ hg verify -q | |
|
156 | 106 | $ cd .. |
|
157 | 107 | $ cd test-1 |
|
158 | 108 | $ hg pull -r 4 http://localhost:$HGPORT/ |
@@ -164,12 +114,7 b' clone remote via stream' | |||
|
164 | 114 | added 1 changesets with 0 changes to 0 files (+1 heads) |
|
165 | 115 | new changesets c70afb1ee985 |
|
166 | 116 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
167 | $ hg verify | |
|
168 | checking changesets | |
|
169 | checking manifests | |
|
170 | crosschecking files in changesets and manifests | |
|
171 | checking files | |
|
172 | checked 3 changesets with 2 changes to 1 files | |
|
117 | $ hg verify -q | |
|
173 | 118 | $ hg pull http://localhost:$HGPORT/ |
|
174 | 119 | pulling from http://localhost:$HGPORT/ |
|
175 | 120 | searching for changes |
@@ -190,12 +135,7 b' clone remote via stream' | |||
|
190 | 135 | added 2 changesets with 0 changes to 0 files (+1 heads) |
|
191 | 136 | new changesets c70afb1ee985:f03ae5a9b979 |
|
192 | 137 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
193 | $ hg verify | |
|
194 | checking changesets | |
|
195 | checking manifests | |
|
196 | crosschecking files in changesets and manifests | |
|
197 | checking files | |
|
198 | checked 5 changesets with 3 changes to 1 files | |
|
138 | $ hg verify -q | |
|
199 | 139 | $ hg pull http://localhost:$HGPORT/ |
|
200 | 140 | pulling from http://localhost:$HGPORT/ |
|
201 | 141 | searching for changes |
@@ -205,12 +145,7 b' clone remote via stream' | |||
|
205 | 145 | added 4 changesets with 4 changes to 4 files |
|
206 | 146 | new changesets 93ee6ab32777:916f1afdef90 |
|
207 | 147 | (run 'hg update' to get a working copy) |
|
208 | $ hg verify | |
|
209 | checking changesets | |
|
210 | checking manifests | |
|
211 | crosschecking files in changesets and manifests | |
|
212 | checking files | |
|
213 | checked 9 changesets with 7 changes to 4 files | |
|
148 | $ hg verify -q | |
|
214 | 149 | $ cd .. |
|
215 | 150 | |
|
216 | 151 | no default destination if url has no path: |
@@ -22,12 +22,7 b' url for proxy, stream' | |||
|
22 | 22 | updating to branch default |
|
23 | 23 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
24 | 24 | $ cd b |
|
25 | $ hg verify | |
|
26 | checking changesets | |
|
27 | checking manifests | |
|
28 | crosschecking files in changesets and manifests | |
|
29 | checking files | |
|
30 | checked 1 changesets with 1 changes to 1 files | |
|
25 | $ hg verify -q | |
|
31 | 26 | $ cd .. |
|
32 | 27 | |
|
33 | 28 | url for proxy, pull |
@@ -42,12 +37,7 b' url for proxy, pull' | |||
|
42 | 37 | updating to branch default |
|
43 | 38 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
44 | 39 | $ cd b-pull |
|
45 | $ hg verify | |
|
46 | checking changesets | |
|
47 | checking manifests | |
|
48 | crosschecking files in changesets and manifests | |
|
49 | checking files | |
|
50 | checked 1 changesets with 1 changes to 1 files | |
|
40 | $ hg verify -q | |
|
51 | 41 | $ cd .. |
|
52 | 42 | |
|
53 | 43 | host:port for proxy |
@@ -34,12 +34,7 b' clone via stream' | |||
|
34 | 34 | transferred * bytes in * seconds (*/sec) (glob) |
|
35 | 35 | updating to branch default |
|
36 | 36 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
37 | $ hg verify -R copy | |
|
38 | checking changesets | |
|
39 | checking manifests | |
|
40 | crosschecking files in changesets and manifests | |
|
41 | checking files | |
|
42 | checked 1 changesets with 4 changes to 4 files | |
|
37 | $ hg verify -R copy -q | |
|
43 | 38 | #endif |
|
44 | 39 | |
|
45 | 40 | try to clone via stream, should use pull instead |
@@ -88,12 +83,7 b' clone via pull' | |||
|
88 | 83 | new changesets 8b6053c928fe |
|
89 | 84 | updating to branch default |
|
90 | 85 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
91 | $ hg verify -R copy-pull | |
|
92 | checking changesets | |
|
93 | checking manifests | |
|
94 | crosschecking files in changesets and manifests | |
|
95 | checking files | |
|
96 | checked 1 changesets with 4 changes to 4 files | |
|
86 | $ hg verify -R copy-pull -q | |
|
97 | 87 | $ cd test |
|
98 | 88 | $ echo bar > bar |
|
99 | 89 | $ hg commit -A -d '1 0' -m 2 |
@@ -137,12 +137,7 b' Inability to verify peer certificate wil' | |||
|
137 | 137 | new changesets 8b6053c928fe |
|
138 | 138 | updating to branch default |
|
139 | 139 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
140 | $ hg verify -R copy-pull | |
|
141 | checking changesets | |
|
142 | checking manifests | |
|
143 | crosschecking files in changesets and manifests | |
|
144 | checking files | |
|
145 | checked 1 changesets with 4 changes to 4 files | |
|
140 | $ hg verify -R copy-pull -q | |
|
146 | 141 | $ cd test |
|
147 | 142 | $ echo bar > bar |
|
148 | 143 | $ hg commit -A -d '1 0' -m 2 |
@@ -159,9 +159,4 b" Test that --exact on a bad header doesn'" | |||
|
159 | 159 | rollback completed |
|
160 | 160 | abort: patch is damaged or loses information |
|
161 | 161 | [255] |
|
162 | $ hg verify | |
|
163 | checking changesets | |
|
164 | checking manifests | |
|
165 | crosschecking files in changesets and manifests | |
|
166 | checking files | |
|
167 | checked 2 changesets with 2 changes to 1 files | |
|
162 | $ hg verify -q |
@@ -7,12 +7,7 b'' | |||
|
7 | 7 | > hg commit -A -m $i |
|
8 | 8 | > done |
|
9 | 9 | adding foo |
|
10 | $ hg verify | |
|
11 | checking changesets | |
|
12 | checking manifests | |
|
13 | crosschecking files in changesets and manifests | |
|
14 | checking files | |
|
15 | checked 9 changesets with 9 changes to 1 files | |
|
10 | $ hg verify -q | |
|
16 | 11 | $ hg serve -p $HGPORT -d --pid-file=hg.pid |
|
17 | 12 | $ cat hg.pid >> $DAEMON_PIDS |
|
18 | 13 | $ cd .. |
@@ -365,12 +360,7 b' test outgoing' | |||
|
365 | 360 | > echo $i >> foo |
|
366 | 361 | > hg commit -A -m $i |
|
367 | 362 | > done |
|
368 | $ hg verify | |
|
369 | checking changesets | |
|
370 | checking manifests | |
|
371 | crosschecking files in changesets and manifests | |
|
372 | checking files | |
|
373 | checked 14 changesets with 14 changes to 1 files | |
|
363 | $ hg verify -q | |
|
374 | 364 | $ cd .. |
|
375 | 365 | $ hg -R test-dev outgoing test |
|
376 | 366 | comparing with test |
@@ -37,12 +37,7 b' https://bz.mercurial-scm.org/1175' | |||
|
37 | 37 | updating the branch cache |
|
38 | 38 | committed changeset 5:83a687e8a97c80992ba385bbfd766be181bfb1d1 |
|
39 | 39 | |
|
40 | $ hg verify | |
|
41 | checking changesets | |
|
42 | checking manifests | |
|
43 | crosschecking files in changesets and manifests | |
|
44 | checking files | |
|
45 | checked 6 changesets with 4 changes to 4 files | |
|
40 | $ hg verify -q | |
|
46 | 41 | |
|
47 | 42 | $ hg export --git tip |
|
48 | 43 | # HG changeset patch |
@@ -25,13 +25,7 b' recover, explicit verify' | |||
|
25 | 25 | abort: abandoned transaction found |
|
26 | 26 | (run 'hg recover' to clean up transaction) |
|
27 | 27 | [255] |
|
28 | $ hg recover --verify | |
|
29 | rolling back interrupted transaction | |
|
30 | checking changesets | |
|
31 | checking manifests | |
|
32 | crosschecking files in changesets and manifests | |
|
33 | checking files | |
|
34 | checked 1 changesets with 1 changes to 1 files | |
|
28 | $ hg recover --verify -q | |
|
35 | 29 | |
|
36 | 30 | recover, no verify |
|
37 | 31 |
@@ -838,12 +838,7 b' Stat, verify and show custom expansion (' | |||
|
838 | 838 | |
|
839 | 839 | $ hg status |
|
840 | 840 | ? c |
|
841 | $ hg verify | |
|
842 | checking changesets | |
|
843 | checking manifests | |
|
844 | crosschecking files in changesets and manifests | |
|
845 | checking files | |
|
846 | checked 3 changesets with 4 changes to 3 files | |
|
841 | $ hg verify -q | |
|
847 | 842 | $ cat a b |
|
848 | 843 | expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
|
849 | 844 | do not process $Id: |
@@ -151,14 +151,7 b' largefiles clients refuse to push largef' | |||
|
151 | 151 | $ hg commit -m "m2" |
|
152 | 152 | Invoking status precommit hook |
|
153 | 153 | A f2 |
|
154 | $ hg verify --large | |
|
155 | checking changesets | |
|
156 | checking manifests | |
|
157 | crosschecking files in changesets and manifests | |
|
158 | checking files | |
|
159 | checked 2 changesets with 2 changes to 2 files | |
|
160 | searching 1 changesets for largefiles | |
|
161 | verified existence of 1 revisions of 1 largefiles | |
|
154 | $ hg verify --large -q | |
|
162 | 155 | $ hg serve --config extensions.largefiles=! -R ../r6 -d -p $HGPORT --pid-file ../hg.pid |
|
163 | 156 | $ cat ../hg.pid >> $DAEMON_PIDS |
|
164 | 157 | $ hg push http://localhost:$HGPORT |
@@ -280,14 +273,7 b' largefiles pulled on update - a largefil' | |||
|
280 | 273 | $ [ ! -f http-clone/.hg/largefiles/02a439e5c31c526465ab1a0ca1f431f76b827b90 ] |
|
281 | 274 | $ [ ! -f http-clone/f1 ] |
|
282 | 275 | $ [ ! -f http-clone-usercache ] |
|
283 | $ hg -R http-clone verify --large --lfc | |
|
284 | checking changesets | |
|
285 | checking manifests | |
|
286 | crosschecking files in changesets and manifests | |
|
287 | checking files | |
|
288 | checked 1 changesets with 1 changes to 1 files | |
|
289 | searching 1 changesets for largefiles | |
|
290 | verified contents of 1 revisions of 1 largefiles | |
|
276 | $ hg -R http-clone verify --large --lfc -q | |
|
291 | 277 | $ hg -R http-clone up -Cqr null |
|
292 | 278 | |
|
293 | 279 | largefiles pulled on update - no server side problems: |
@@ -343,14 +329,7 b' largefiles should batch verify remote ca' | |||
|
343 | 329 | adding file changes |
|
344 | 330 | added 2 changesets with 2 changes to 2 files |
|
345 | 331 | new changesets 567253b0f523:04d19c27a332 (2 drafts) |
|
346 | $ hg -R batchverifyclone verify --large --lfa | |
|
347 | checking changesets | |
|
348 | checking manifests | |
|
349 | crosschecking files in changesets and manifests | |
|
350 | checking files | |
|
351 | checked 2 changesets with 2 changes to 2 files | |
|
352 | searching 2 changesets for largefiles | |
|
353 | verified existence of 2 revisions of 2 largefiles | |
|
332 | $ hg -R batchverifyclone verify --large --lfa -q | |
|
354 | 333 | $ tail -1 access.log |
|
355 | 334 | $LOCALIP - - [$LOGDATE$] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=statlfile+sha%3D972a1a11f19934401291cc99117ec614933374ce%3Bstatlfile+sha%3Dc801c9cfe94400963fcb683246217d5db77f9a9a x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob) |
|
356 | 335 | $ hg -R batchverifyclone update |
@@ -381,14 +360,7 b' available locally.' | |||
|
381 | 360 | added 1 changesets with 1 changes to 1 files |
|
382 | 361 | new changesets 6bba8cb6935d (1 drafts) |
|
383 | 362 | (run 'hg update' to get a working copy) |
|
384 | $ hg -R batchverifyclone verify --lfa | |
|
385 | checking changesets | |
|
386 | checking manifests | |
|
387 | crosschecking files in changesets and manifests | |
|
388 | checking files | |
|
389 | checked 3 changesets with 3 changes to 3 files | |
|
390 | searching 3 changesets for largefiles | |
|
391 | verified existence of 3 revisions of 3 largefiles | |
|
363 | $ hg -R batchverifyclone verify --lfa -q | |
|
392 | 364 | $ tail -1 access.log |
|
393 | 365 | $LOCALIP - - [$LOGDATE$] "GET /?cmd=statlfile HTTP/1.1" 200 - x-hgarg-1:sha=c8559c3c9cfb42131794b7d8009230403b9b454c x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob) |
|
394 | 366 |
@@ -1029,14 +1029,7 b' Test cloning with --all-largefiles flag' | |||
|
1029 | 1029 | 2 largefiles updated, 0 removed |
|
1030 | 1030 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1031 | 1031 | 8 additional largefiles cached |
|
1032 | $ hg -R a-clone1 verify --large --lfa --lfc | |
|
1033 | checking changesets | |
|
1034 | checking manifests | |
|
1035 | crosschecking files in changesets and manifests | |
|
1036 | checking files | |
|
1037 | checked 8 changesets with 24 changes to 10 files | |
|
1038 | searching 8 changesets for largefiles | |
|
1039 | verified contents of 13 revisions of 6 largefiles | |
|
1032 | $ hg -R a-clone1 verify --large --lfa --lfc -q | |
|
1040 | 1033 | $ hg -R a-clone1 sum |
|
1041 | 1034 | parent: 1:ce8896473775 |
|
1042 | 1035 | edit files |
@@ -1561,15 +1554,8 b' and make sure that this is caught:' | |||
|
1561 | 1554 | |
|
1562 | 1555 | $ mv $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 . |
|
1563 | 1556 | $ rm .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1564 | $ hg verify --large | |
|
1565 | checking changesets | |
|
1566 | checking manifests | |
|
1567 | crosschecking files in changesets and manifests | |
|
1568 | checking files | |
|
1569 | checked 10 changesets with 28 changes to 10 files | |
|
1570 | searching 1 changesets for largefiles | |
|
1557 | $ hg verify --large -q | |
|
1571 | 1558 | changeset 9:598410d3eb9a: sub/large4 references missing $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1572 | verified existence of 3 revisions of 3 largefiles | |
|
1573 | 1559 | [1] |
|
1574 | 1560 | |
|
1575 | 1561 | - introduce corruption and make sure that it is caught when checking content: |
@@ -246,12 +246,7 b' Pure removes should actually remove all ' | |||
|
246 | 246 | |
|
247 | 247 | $ hg up -qC . |
|
248 | 248 | |
|
249 | $ hg verify | |
|
250 | checking changesets | |
|
251 | checking manifests | |
|
252 | crosschecking files in changesets and manifests | |
|
253 | checking files | |
|
254 | checked 2 changesets with 8 changes to 8 files | |
|
249 | $ hg verify -q | |
|
255 | 250 | |
|
256 | 251 | $ hg rollback -q --config ui.rollback=True |
|
257 | 252 | $ hg rm b.txt d.txt |
@@ -270,12 +265,7 b' A mix of adds and removes should remove ' | |||
|
270 | 265 | ccc.txt\x00149da44f2a4e14f488b7bd4157945a9837408c00 (esc) |
|
271 | 266 | e.txt\x00149da44f2a4e14f488b7bd4157945a9837408c00 (esc) |
|
272 | 267 | |
|
273 | $ hg verify | |
|
274 | checking changesets | |
|
275 | checking manifests | |
|
276 | crosschecking files in changesets and manifests | |
|
277 | checking files | |
|
278 | checked 2 changesets with 9 changes to 9 files | |
|
268 | $ hg verify -q | |
|
279 | 269 | $ cd .. |
|
280 | 270 | |
|
281 | 271 | Test manifest cache interraction with shares |
@@ -164,12 +164,7 b' Check that the resulting history is vali' | |||
|
164 | 164 | remote: adding file changes |
|
165 | 165 | remote: added 4 changesets with 4 changes to 2 files |
|
166 | 166 | $ cd ../master |
|
167 | $ hg verify | |
|
168 | checking changesets | |
|
169 | checking manifests | |
|
170 | crosschecking files in changesets and manifests | |
|
171 | checking files | |
|
172 | checked 8 changesets with 10 changes to 3 files | |
|
167 | $ hg verify -q | |
|
173 | 168 | |
|
174 | 169 | Can not push to wider repo if change affects paths in wider repo that are |
|
175 | 170 | not also in narrower repo |
@@ -161,13 +161,7 b' We should also be able to unshare withou' | |||
|
161 | 161 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
162 | 162 | $ cd share-unshare |
|
163 | 163 | $ hg unshare |
|
164 | $ hg verify | |
|
165 | checking changesets | |
|
166 | checking manifests | |
|
167 | checking directory manifests (tree !) | |
|
168 | crosschecking files in changesets and manifests | |
|
169 | checking files | |
|
170 | checked 11 changesets with 3 changes to 3 files | |
|
164 | $ hg verify -q | |
|
171 | 165 | $ cd .. |
|
172 | 166 | |
|
173 | 167 | Dirstate should be left alone when upgrading from version of hg that didn't support narrow+share |
@@ -274,13 +274,7 b' make narrow clone with every third node.' | |||
|
274 | 274 | I path:d3 |
|
275 | 275 | I path:d6 |
|
276 | 276 | I path:d9 |
|
277 | $ hg verify | |
|
278 | checking changesets | |
|
279 | checking manifests | |
|
280 | checking directory manifests (tree !) | |
|
281 | crosschecking files in changesets and manifests | |
|
282 | checking files | |
|
283 | checked 11 changesets with 4 changes to 4 files | |
|
277 | $ hg verify -q | |
|
284 | 278 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" |
|
285 | 279 | 10: add d10/f |
|
286 | 280 | 9: add d9/f |
@@ -321,13 +315,7 b' make narrow clone with every third node.' | |||
|
321 | 315 | |
|
322 | 316 | Verify shouldn't claim the repo is corrupt after a widen. |
|
323 | 317 | |
|
324 | $ hg verify | |
|
325 | checking changesets | |
|
326 | checking manifests | |
|
327 | checking directory manifests (tree !) | |
|
328 | crosschecking files in changesets and manifests | |
|
329 | checking files | |
|
330 | checked 11 changesets with 5 changes to 5 files | |
|
318 | $ hg verify -q | |
|
331 | 319 | |
|
332 | 320 | Widening preserves parent of local commit |
|
333 | 321 |
@@ -280,13 +280,7 b' make narrow clone with every third node.' | |||
|
280 | 280 | I path:d3 |
|
281 | 281 | I path:d6 |
|
282 | 282 | I path:d9 |
|
283 | $ hg verify | |
|
284 | checking changesets | |
|
285 | checking manifests | |
|
286 | checking directory manifests (tree !) | |
|
287 | crosschecking files in changesets and manifests | |
|
288 | checking files | |
|
289 | checked 8 changesets with 4 changes to 4 files | |
|
283 | $ hg verify -q | |
|
290 | 284 | $ hg l |
|
291 | 285 | @ ...7: add d10/f |
|
292 | 286 | | |
@@ -340,13 +334,7 b' make narrow clone with every third node.' | |||
|
340 | 334 | |
|
341 | 335 | Verify shouldn't claim the repo is corrupt after a widen. |
|
342 | 336 | |
|
343 | $ hg verify | |
|
344 | checking changesets | |
|
345 | checking manifests | |
|
346 | checking directory manifests (tree !) | |
|
347 | crosschecking files in changesets and manifests | |
|
348 | checking files | |
|
349 | checked 9 changesets with 5 changes to 5 files | |
|
337 | $ hg verify -q | |
|
350 | 338 | |
|
351 | 339 | Widening preserves parent of local commit |
|
352 | 340 |
@@ -47,12 +47,7 b' Push it. The bundle should not refer to ' | |||
|
47 | 47 | adding manifests |
|
48 | 48 | adding file changes |
|
49 | 49 | added 2 changesets with 2 changes to 2 files |
|
50 | $ hg -R ../other verify | |
|
51 | checking changesets | |
|
52 | checking manifests | |
|
53 | crosschecking files in changesets and manifests | |
|
54 | checking files | |
|
55 | checked 2 changesets with 2 changes to 2 files | |
|
50 | $ hg -R ../other verify -q | |
|
56 | 51 | |
|
57 | 52 | Adding a changeset going extinct locally |
|
58 | 53 | ------------------------------------------ |
@@ -19,31 +19,17 b'' | |||
|
19 | 19 | |
|
20 | 20 | $ hg commit -m "1" |
|
21 | 21 | |
|
22 | $ hg verify | |
|
23 | checking changesets | |
|
24 | checking manifests | |
|
25 | crosschecking files in changesets and manifests | |
|
26 | checking files | |
|
27 | checked 1 changesets with 1 changes to 1 files | |
|
22 | $ hg verify -q | |
|
28 | 23 | |
|
29 | 24 | $ chmod -r .hg/store/data/a.i |
|
30 | 25 | |
|
31 | $ hg verify | |
|
32 | checking changesets | |
|
33 | checking manifests | |
|
34 | crosschecking files in changesets and manifests | |
|
35 | checking files | |
|
26 | $ hg verify -q | |
|
36 | 27 | abort: Permission denied: '$TESTTMP/t/.hg/store/data/a.i' |
|
37 | 28 | [255] |
|
38 | 29 | |
|
39 | 30 | $ chmod +r .hg/store/data/a.i |
|
40 | 31 | |
|
41 | $ hg verify | |
|
42 | checking changesets | |
|
43 | checking manifests | |
|
44 | crosschecking files in changesets and manifests | |
|
45 | checking files | |
|
46 | checked 1 changesets with 1 changes to 1 files | |
|
32 | $ hg verify -q | |
|
47 | 33 | |
|
48 | 34 | $ chmod -w .hg/store/data/a.i |
|
49 | 35 |
@@ -800,12 +800,7 b' test verify repo containing hidden chang' | |||
|
800 | 800 | because repo.cancopy() is False |
|
801 | 801 | |
|
802 | 802 | $ cd ../initialrepo |
|
803 | $ hg verify | |
|
804 | checking changesets | |
|
805 | checking manifests | |
|
806 | crosschecking files in changesets and manifests | |
|
807 | checking files | |
|
808 | checked 8 changesets with 7 changes to 7 files | |
|
803 | $ hg verify -q | |
|
809 | 804 | |
|
810 | 805 | $ cd .. |
|
811 | 806 |
@@ -8,12 +8,7 b'' | |||
|
8 | 8 | adding foo |
|
9 | 9 | $ hg commit -m 1 |
|
10 | 10 | |
|
11 | $ hg verify | |
|
12 | checking changesets | |
|
13 | checking manifests | |
|
14 | crosschecking files in changesets and manifests | |
|
15 | checking files | |
|
16 | checked 1 changesets with 1 changes to 1 files | |
|
11 | $ hg verify -q | |
|
17 | 12 | |
|
18 | 13 | $ hg serve -p $HGPORT -d --pid-file=hg.pid |
|
19 | 14 | $ cat hg.pid >> $DAEMON_PIDS |
@@ -30,12 +25,7 b'' | |||
|
30 | 25 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
31 | 26 | |
|
32 | 27 | $ cd copy |
|
33 | $ hg verify | |
|
34 | checking changesets | |
|
35 | checking manifests | |
|
36 | crosschecking files in changesets and manifests | |
|
37 | checking files | |
|
38 | checked 1 changesets with 1 changes to 1 files | |
|
28 | $ hg verify -q | |
|
39 | 29 | |
|
40 | 30 | $ hg co |
|
41 | 31 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -23,11 +23,6 b'' | |||
|
23 | 23 | $ chmod +w a/.hg/store # let test clean up |
|
24 | 24 | |
|
25 | 25 | $ cd b |
|
26 | $ hg verify | |
|
27 | checking changesets | |
|
28 | checking manifests | |
|
29 | crosschecking files in changesets and manifests | |
|
30 | checking files | |
|
31 | checked 1 changesets with 1 changes to 1 files | |
|
26 | $ hg verify -q | |
|
32 | 27 | |
|
33 | 28 | $ cd .. |
@@ -65,11 +65,6 b' start a pull...' | |||
|
65 | 65 | see the result |
|
66 | 66 | |
|
67 | 67 | $ wait |
|
68 | $ hg verify | |
|
69 | checking changesets | |
|
70 | checking manifests | |
|
71 | crosschecking files in changesets and manifests | |
|
72 | checking files | |
|
73 | checked 11 changesets with 11 changes to 1 files | |
|
68 | $ hg verify -q | |
|
74 | 69 | |
|
75 | 70 | $ cd .. |
@@ -18,7 +18,7 b" Testing of the '--rev' flag" | |||
|
18 | 18 | > echo |
|
19 | 19 | > hg init test-revflag-"$i" |
|
20 | 20 | > hg -R test-revflag push -r "$i" test-revflag-"$i" |
|
21 | > hg -R test-revflag-"$i" verify | |
|
21 | > hg -R test-revflag-"$i" verify -q | |
|
22 | 22 | > done |
|
23 | 23 | |
|
24 | 24 | pushing to test-revflag-0 |
@@ -27,11 +27,6 b" Testing of the '--rev' flag" | |||
|
27 | 27 | adding manifests |
|
28 | 28 | adding file changes |
|
29 | 29 | added 1 changesets with 1 changes to 1 files |
|
30 | checking changesets | |
|
31 | checking manifests | |
|
32 | crosschecking files in changesets and manifests | |
|
33 | checking files | |
|
34 | checked 1 changesets with 1 changes to 1 files | |
|
35 | 30 | |
|
36 | 31 | pushing to test-revflag-1 |
|
37 | 32 | searching for changes |
@@ -39,11 +34,6 b" Testing of the '--rev' flag" | |||
|
39 | 34 | adding manifests |
|
40 | 35 | adding file changes |
|
41 | 36 | added 2 changesets with 2 changes to 1 files |
|
42 | checking changesets | |
|
43 | checking manifests | |
|
44 | crosschecking files in changesets and manifests | |
|
45 | checking files | |
|
46 | checked 2 changesets with 2 changes to 1 files | |
|
47 | 37 | |
|
48 | 38 | pushing to test-revflag-2 |
|
49 | 39 | searching for changes |
@@ -51,11 +41,6 b" Testing of the '--rev' flag" | |||
|
51 | 41 | adding manifests |
|
52 | 42 | adding file changes |
|
53 | 43 | added 3 changesets with 3 changes to 1 files |
|
54 | checking changesets | |
|
55 | checking manifests | |
|
56 | crosschecking files in changesets and manifests | |
|
57 | checking files | |
|
58 | checked 3 changesets with 3 changes to 1 files | |
|
59 | 44 | |
|
60 | 45 | pushing to test-revflag-3 |
|
61 | 46 | searching for changes |
@@ -63,11 +48,6 b" Testing of the '--rev' flag" | |||
|
63 | 48 | adding manifests |
|
64 | 49 | adding file changes |
|
65 | 50 | added 4 changesets with 4 changes to 1 files |
|
66 | checking changesets | |
|
67 | checking manifests | |
|
68 | crosschecking files in changesets and manifests | |
|
69 | checking files | |
|
70 | checked 4 changesets with 4 changes to 1 files | |
|
71 | 51 | |
|
72 | 52 | pushing to test-revflag-4 |
|
73 | 53 | searching for changes |
@@ -75,11 +55,6 b" Testing of the '--rev' flag" | |||
|
75 | 55 | adding manifests |
|
76 | 56 | adding file changes |
|
77 | 57 | added 2 changesets with 2 changes to 1 files |
|
78 | checking changesets | |
|
79 | checking manifests | |
|
80 | crosschecking files in changesets and manifests | |
|
81 | checking files | |
|
82 | checked 2 changesets with 2 changes to 1 files | |
|
83 | 58 | |
|
84 | 59 | pushing to test-revflag-5 |
|
85 | 60 | searching for changes |
@@ -87,11 +62,6 b" Testing of the '--rev' flag" | |||
|
87 | 62 | adding manifests |
|
88 | 63 | adding file changes |
|
89 | 64 | added 3 changesets with 3 changes to 1 files |
|
90 | checking changesets | |
|
91 | checking manifests | |
|
92 | crosschecking files in changesets and manifests | |
|
93 | checking files | |
|
94 | checked 3 changesets with 3 changes to 1 files | |
|
95 | 65 | |
|
96 | 66 | pushing to test-revflag-6 |
|
97 | 67 | searching for changes |
@@ -99,11 +69,6 b" Testing of the '--rev' flag" | |||
|
99 | 69 | adding manifests |
|
100 | 70 | adding file changes |
|
101 | 71 | added 4 changesets with 5 changes to 2 files |
|
102 | checking changesets | |
|
103 | checking manifests | |
|
104 | crosschecking files in changesets and manifests | |
|
105 | checking files | |
|
106 | checked 4 changesets with 5 changes to 2 files | |
|
107 | 72 | |
|
108 | 73 | pushing to test-revflag-7 |
|
109 | 74 | searching for changes |
@@ -111,11 +76,6 b" Testing of the '--rev' flag" | |||
|
111 | 76 | adding manifests |
|
112 | 77 | adding file changes |
|
113 | 78 | added 5 changesets with 6 changes to 3 files |
|
114 | checking changesets | |
|
115 | checking manifests | |
|
116 | crosschecking files in changesets and manifests | |
|
117 | checking files | |
|
118 | checked 5 changesets with 6 changes to 3 files | |
|
119 | 79 | |
|
120 | 80 | pushing to test-revflag-8 |
|
121 | 81 | searching for changes |
@@ -123,11 +83,6 b" Testing of the '--rev' flag" | |||
|
123 | 83 | adding manifests |
|
124 | 84 | adding file changes |
|
125 | 85 | added 5 changesets with 5 changes to 2 files |
|
126 | checking changesets | |
|
127 | checking manifests | |
|
128 | crosschecking files in changesets and manifests | |
|
129 | checking files | |
|
130 | checked 5 changesets with 5 changes to 2 files | |
|
131 | 86 | |
|
132 | 87 | $ cd test-revflag-8 |
|
133 | 88 | |
@@ -141,12 +96,7 b" Testing of the '--rev' flag" | |||
|
141 | 96 | new changesets c70afb1ee985:faa2e4234c7a |
|
142 | 97 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
143 | 98 | |
|
144 | $ hg verify | |
|
145 | checking changesets | |
|
146 | checking manifests | |
|
147 | crosschecking files in changesets and manifests | |
|
148 | checking files | |
|
149 | checked 9 changesets with 7 changes to 4 files | |
|
99 | $ hg verify -q | |
|
150 | 100 | |
|
151 | 101 | $ cd .. |
|
152 | 102 | |
@@ -189,13 +139,8 b' Test spurious filelog entries:' | |||
|
189 | 139 | |
|
190 | 140 | Expected to fail: |
|
191 | 141 | |
|
192 | $ hg verify | |
|
193 | checking changesets | |
|
194 | checking manifests | |
|
195 | crosschecking files in changesets and manifests | |
|
196 | checking files | |
|
142 | $ hg verify -q | |
|
197 | 143 | beta@1: dddc47b3ba30 not in manifests |
|
198 | checked 2 changesets with 4 changes to 2 files | |
|
199 | 144 | 1 integrity errors encountered! |
|
200 | 145 | (first damaged changeset appears to be 1) |
|
201 | 146 | [1] |
@@ -224,13 +169,8 b' Test missing filelog entries:' | |||
|
224 | 169 | |
|
225 | 170 | Expected to fail: |
|
226 | 171 | |
|
227 | $ hg verify | |
|
228 | checking changesets | |
|
229 | checking manifests | |
|
230 | crosschecking files in changesets and manifests | |
|
231 | checking files | |
|
172 | $ hg verify -q | |
|
232 | 173 | beta@1: manifest refers to unknown revision dddc47b3ba30 |
|
233 | checked 2 changesets with 2 changes to 2 files | |
|
234 | 174 | 1 integrity errors encountered! |
|
235 | 175 | (first damaged changeset appears to be 1) |
|
236 | 176 | [1] |
@@ -117,16 +117,6 b' The two repository should be identical, ' | |||
|
117 | 117 | hg verify should be happy |
|
118 | 118 | ------------------------- |
|
119 | 119 | |
|
120 | $ hg verify | |
|
121 | checking changesets | |
|
122 | checking manifests | |
|
123 | crosschecking files in changesets and manifests | |
|
124 | checking files | |
|
125 | checked 1 changesets with 1 changes to 1 files | |
|
120 | $ hg verify -q | |
|
126 | 121 | |
|
127 | $ hg verify -R ../cloned-repo | |
|
128 | checking changesets | |
|
129 | checking manifests | |
|
130 | crosschecking files in changesets and manifests | |
|
131 | checking files | |
|
132 | checked 1 changesets with 1 changes to 1 files | |
|
122 | $ hg verify -R ../cloned-repo -q |
@@ -96,12 +96,7 b' Adding "orphaned" index files:' | |||
|
96 | 96 | |
|
97 | 97 | $ (cd ..; cp repo-sparse/.hg/store/data/hide.i repo-narrow/.hg/store/data/hide.i) |
|
98 | 98 | $ (cd ..; mkdir repo-narrow/.hg/store/data/dir2; cp repo-sparse/.hg/store/data/dir2/z.i repo-narrow/.hg/store/data/dir2/z.i) |
|
99 | $ "$real_hg" verify | |
|
100 | checking changesets | |
|
101 | checking manifests | |
|
102 | crosschecking files in changesets and manifests | |
|
103 | checking files | |
|
104 | checked 1 changesets with 2 changes to 2 files | |
|
99 | $ "$real_hg" verify -q | |
|
105 | 100 | |
|
106 | 101 | $ "$real_hg" files -r "$tip" |
|
107 | 102 | dir1/x |
@@ -4,12 +4,7 b' setup repo' | |||
|
4 | 4 | $ echo a > a |
|
5 | 5 | $ hg commit -Am'add a' |
|
6 | 6 | adding a |
|
7 | $ hg verify | |
|
8 | checking changesets | |
|
9 | checking manifests | |
|
10 | crosschecking files in changesets and manifests | |
|
11 | checking files | |
|
12 | checked 1 changesets with 1 changes to 1 files | |
|
7 | $ hg verify -q | |
|
13 | 8 | $ hg parents |
|
14 | 9 | changeset: 0:1f0dee641bb7 |
|
15 | 10 | tag: tip |
@@ -23,12 +18,7 b' rollback to null revision' | |||
|
23 | 18 | $ hg rollback |
|
24 | 19 | repository tip rolled back to revision -1 (undo commit) |
|
25 | 20 | working directory now based on revision -1 |
|
26 | $ hg verify | |
|
27 | checking changesets | |
|
28 | checking manifests | |
|
29 | crosschecking files in changesets and manifests | |
|
30 | checking files | |
|
31 | checked 0 changesets with 0 changes to 0 files | |
|
21 | $ hg verify -q | |
|
32 | 22 | $ hg parents |
|
33 | 23 | $ hg status |
|
34 | 24 | A a |
@@ -191,14 +181,8 b' same again, but emulate an old client th' | |||
|
191 | 181 | |
|
192 | 182 | corrupt journal test |
|
193 | 183 | $ echo "foo" > .hg/store/journal |
|
194 | $ hg recover --verify | |
|
195 | rolling back interrupted transaction | |
|
184 | $ hg recover --verify -q | |
|
196 | 185 | couldn't read journal entry 'foo\n'! |
|
197 | checking changesets | |
|
198 | checking manifests | |
|
199 | crosschecking files in changesets and manifests | |
|
200 | checking files | |
|
201 | checked 2 changesets with 2 changes to 1 files | |
|
202 | 186 | |
|
203 | 187 | rollback disabled by config |
|
204 | 188 | $ cat >> $HGRCPATH <<EOF |
@@ -433,12 +417,7 b' An I/O error writing "rollback completed' | |||
|
433 | 417 | abort: pretxncommit hook exited with status 1 |
|
434 | 418 | [40] |
|
435 | 419 | |
|
436 | $ hg verify | |
|
437 | checking changesets | |
|
438 | checking manifests | |
|
439 | crosschecking files in changesets and manifests | |
|
440 | checking files | |
|
441 | checked 1 changesets with 1 changes to 1 files | |
|
420 | $ hg verify -q | |
|
442 | 421 | |
|
443 | 422 | $ cd .. |
|
444 | 423 | |
@@ -458,11 +437,6 b' of a transaction.' | |||
|
458 | 437 | |
|
459 | 438 | $ hg --config ui.ioerrors=pretxncommit,pretxnclose,txnclose,txnabort,msgabort,msgrollback commit -m 'multiple errors' |
|
460 | 439 | |
|
461 | $ hg verify | |
|
462 | checking changesets | |
|
463 | checking manifests | |
|
464 | crosschecking files in changesets and manifests | |
|
465 | checking files | |
|
466 | checked 2 changesets with 2 changes to 1 files | |
|
440 | $ hg verify -q | |
|
467 | 441 | |
|
468 | 442 | $ cd .. |
@@ -5,12 +5,7 b'' | |||
|
5 | 5 | adding foo |
|
6 | 6 | $ hg commit -m "1" |
|
7 | 7 | |
|
8 | $ hg verify | |
|
9 | checking changesets | |
|
10 | checking manifests | |
|
11 | crosschecking files in changesets and manifests | |
|
12 | checking files | |
|
13 | checked 1 changesets with 1 changes to 1 files | |
|
8 | $ hg verify -q | |
|
14 | 9 | |
|
15 | 10 | $ hg clone . ../branch |
|
16 | 11 | updating to branch default |
@@ -34,12 +29,7 b'' | |||
|
34 | 29 | 1 local changesets published |
|
35 | 30 | (run 'hg update' to get a working copy) |
|
36 | 31 | |
|
37 | $ hg verify | |
|
38 | checking changesets | |
|
39 | checking manifests | |
|
40 | crosschecking files in changesets and manifests | |
|
41 | checking files | |
|
42 | checked 2 changesets with 2 changes to 1 files | |
|
32 | $ hg verify -q | |
|
43 | 33 | |
|
44 | 34 | $ hg co |
|
45 | 35 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -71,12 +71,7 b' clone remote via stream' | |||
|
71 | 71 | updating to branch default |
|
72 | 72 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
73 | 73 | $ cd local-stream |
|
74 | $ hg verify | |
|
75 | checking changesets | |
|
76 | checking manifests | |
|
77 | crosschecking files in changesets and manifests | |
|
78 | checking files | |
|
79 | checked 3 changesets with 2 changes to 2 files | |
|
74 | $ hg verify -q | |
|
80 | 75 | $ hg branches |
|
81 | 76 | default 0:1160648e36ce |
|
82 | 77 | $ cd $TESTTMP |
@@ -117,12 +112,7 b' clone remote via pull' | |||
|
117 | 112 | verify |
|
118 | 113 | |
|
119 | 114 | $ cd local |
|
120 | $ hg verify | |
|
121 | checking changesets | |
|
122 | checking manifests | |
|
123 | crosschecking files in changesets and manifests | |
|
124 | checking files | |
|
125 | checked 3 changesets with 2 changes to 2 files | |
|
115 | $ hg verify -q | |
|
126 | 116 | $ cat >> .hg/hgrc <<EOF |
|
127 | 117 | > [hooks] |
|
128 | 118 | > changegroup = sh -c "printenv.py --line changegroup-in-local 0 ../dummylog" |
@@ -214,12 +204,7 b' check remote tip' | |||
|
214 | 204 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
215 | 205 | summary: add |
|
216 | 206 | |
|
217 | $ hg verify | |
|
218 | checking changesets | |
|
219 | checking manifests | |
|
220 | crosschecking files in changesets and manifests | |
|
221 | checking files | |
|
222 | checked 4 changesets with 3 changes to 2 files | |
|
207 | $ hg verify -q | |
|
223 | 208 | $ hg cat -r tip foo |
|
224 | 209 | bleah |
|
225 | 210 | $ echo z > z |
@@ -20,7 +20,7 b' clone remote via stream' | |||
|
20 | 20 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
21 | 21 | > hg clone --stream -r "$i" ssh://user@dummy/remote test-"$i" |
|
22 | 22 | > if cd test-"$i"; then |
|
23 | > hg verify | |
|
23 | > hg verify -q | |
|
24 | 24 | > cd .. |
|
25 | 25 | > fi |
|
26 | 26 | > done |
@@ -31,11 +31,6 b' clone remote via stream' | |||
|
31 | 31 | new changesets bfaf4b5cbf01 |
|
32 | 32 | updating to branch default |
|
33 | 33 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
34 | checking changesets | |
|
35 | checking manifests | |
|
36 | crosschecking files in changesets and manifests | |
|
37 | checking files | |
|
38 | checked 1 changesets with 1 changes to 1 files | |
|
39 | 34 | adding changesets |
|
40 | 35 | adding manifests |
|
41 | 36 | adding file changes |
@@ -43,11 +38,6 b' clone remote via stream' | |||
|
43 | 38 | new changesets bfaf4b5cbf01:21f32785131f |
|
44 | 39 | updating to branch default |
|
45 | 40 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
46 | checking changesets | |
|
47 | checking manifests | |
|
48 | crosschecking files in changesets and manifests | |
|
49 | checking files | |
|
50 | checked 2 changesets with 2 changes to 1 files | |
|
51 | 41 | adding changesets |
|
52 | 42 | adding manifests |
|
53 | 43 | adding file changes |
@@ -55,11 +45,6 b' clone remote via stream' | |||
|
55 | 45 | new changesets bfaf4b5cbf01:4ce51a113780 |
|
56 | 46 | updating to branch default |
|
57 | 47 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
58 | checking changesets | |
|
59 | checking manifests | |
|
60 | crosschecking files in changesets and manifests | |
|
61 | checking files | |
|
62 | checked 3 changesets with 3 changes to 1 files | |
|
63 | 48 | adding changesets |
|
64 | 49 | adding manifests |
|
65 | 50 | adding file changes |
@@ -67,11 +52,6 b' clone remote via stream' | |||
|
67 | 52 | new changesets bfaf4b5cbf01:93ee6ab32777 |
|
68 | 53 | updating to branch default |
|
69 | 54 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
70 | checking changesets | |
|
71 | checking manifests | |
|
72 | crosschecking files in changesets and manifests | |
|
73 | checking files | |
|
74 | checked 4 changesets with 4 changes to 1 files | |
|
75 | 55 | adding changesets |
|
76 | 56 | adding manifests |
|
77 | 57 | adding file changes |
@@ -79,11 +59,6 b' clone remote via stream' | |||
|
79 | 59 | new changesets bfaf4b5cbf01:c70afb1ee985 |
|
80 | 60 | updating to branch default |
|
81 | 61 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
82 | checking changesets | |
|
83 | checking manifests | |
|
84 | crosschecking files in changesets and manifests | |
|
85 | checking files | |
|
86 | checked 2 changesets with 2 changes to 1 files | |
|
87 | 62 | adding changesets |
|
88 | 63 | adding manifests |
|
89 | 64 | adding file changes |
@@ -91,11 +66,6 b' clone remote via stream' | |||
|
91 | 66 | new changesets bfaf4b5cbf01:f03ae5a9b979 |
|
92 | 67 | updating to branch default |
|
93 | 68 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
94 | checking changesets | |
|
95 | checking manifests | |
|
96 | crosschecking files in changesets and manifests | |
|
97 | checking files | |
|
98 | checked 3 changesets with 3 changes to 1 files | |
|
99 | 69 | adding changesets |
|
100 | 70 | adding manifests |
|
101 | 71 | adding file changes |
@@ -103,11 +73,6 b' clone remote via stream' | |||
|
103 | 73 | new changesets bfaf4b5cbf01:095cb14b1b4d |
|
104 | 74 | updating to branch default |
|
105 | 75 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
106 | checking changesets | |
|
107 | checking manifests | |
|
108 | crosschecking files in changesets and manifests | |
|
109 | checking files | |
|
110 | checked 4 changesets with 5 changes to 2 files | |
|
111 | 76 | adding changesets |
|
112 | 77 | adding manifests |
|
113 | 78 | adding file changes |
@@ -115,11 +80,6 b' clone remote via stream' | |||
|
115 | 80 | new changesets bfaf4b5cbf01:faa2e4234c7a |
|
116 | 81 | updating to branch default |
|
117 | 82 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
118 | checking changesets | |
|
119 | checking manifests | |
|
120 | crosschecking files in changesets and manifests | |
|
121 | checking files | |
|
122 | checked 5 changesets with 6 changes to 3 files | |
|
123 | 83 | adding changesets |
|
124 | 84 | adding manifests |
|
125 | 85 | adding file changes |
@@ -127,11 +87,6 b' clone remote via stream' | |||
|
127 | 87 | new changesets bfaf4b5cbf01:916f1afdef90 |
|
128 | 88 | updating to branch default |
|
129 | 89 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
130 | checking changesets | |
|
131 | checking manifests | |
|
132 | crosschecking files in changesets and manifests | |
|
133 | checking files | |
|
134 | checked 5 changesets with 5 changes to 2 files | |
|
135 | 90 | $ cd test-8 |
|
136 | 91 | $ hg pull ../test-7 |
|
137 | 92 | pulling from ../test-7 |
@@ -142,12 +97,7 b' clone remote via stream' | |||
|
142 | 97 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
143 | 98 | new changesets c70afb1ee985:faa2e4234c7a |
|
144 | 99 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
145 | $ hg verify | |
|
146 | checking changesets | |
|
147 | checking manifests | |
|
148 | crosschecking files in changesets and manifests | |
|
149 | checking files | |
|
150 | checked 9 changesets with 7 changes to 4 files | |
|
100 | $ hg verify -q | |
|
151 | 101 | $ cd .. |
|
152 | 102 | $ cd test-1 |
|
153 | 103 | $ hg pull -r 4 ssh://user@dummy/remote |
@@ -159,12 +109,7 b' clone remote via stream' | |||
|
159 | 109 | added 1 changesets with 0 changes to 0 files (+1 heads) |
|
160 | 110 | new changesets c70afb1ee985 |
|
161 | 111 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
162 | $ hg verify | |
|
163 | checking changesets | |
|
164 | checking manifests | |
|
165 | crosschecking files in changesets and manifests | |
|
166 | checking files | |
|
167 | checked 3 changesets with 2 changes to 1 files | |
|
112 | $ hg verify -q | |
|
168 | 113 | $ hg pull ssh://user@dummy/remote |
|
169 | 114 | pulling from ssh://user@dummy/remote |
|
170 | 115 | searching for changes |
@@ -185,12 +130,7 b' clone remote via stream' | |||
|
185 | 130 | added 2 changesets with 0 changes to 0 files (+1 heads) |
|
186 | 131 | new changesets c70afb1ee985:f03ae5a9b979 |
|
187 | 132 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
188 | $ hg verify | |
|
189 | checking changesets | |
|
190 | checking manifests | |
|
191 | crosschecking files in changesets and manifests | |
|
192 | checking files | |
|
193 | checked 5 changesets with 3 changes to 1 files | |
|
133 | $ hg verify -q | |
|
194 | 134 | $ hg pull ssh://user@dummy/remote |
|
195 | 135 | pulling from ssh://user@dummy/remote |
|
196 | 136 | searching for changes |
@@ -200,11 +140,6 b' clone remote via stream' | |||
|
200 | 140 | added 4 changesets with 4 changes to 4 files |
|
201 | 141 | new changesets 93ee6ab32777:916f1afdef90 |
|
202 | 142 | (run 'hg update' to get a working copy) |
|
203 | $ hg verify | |
|
204 | checking changesets | |
|
205 | checking manifests | |
|
206 | crosschecking files in changesets and manifests | |
|
207 | checking files | |
|
208 | checked 9 changesets with 7 changes to 4 files | |
|
143 | $ hg verify -q | |
|
209 | 144 | |
|
210 | 145 | $ cd .. |
@@ -61,12 +61,7 b' clone remote via stream' | |||
|
61 | 61 | updating to branch default |
|
62 | 62 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
63 | 63 | $ cd local-stream |
|
64 | $ hg verify | |
|
65 | checking changesets | |
|
66 | checking manifests | |
|
67 | crosschecking files in changesets and manifests | |
|
68 | checking files | |
|
69 | checked 3 changesets with 2 changes to 2 files | |
|
64 | $ hg verify -q | |
|
70 | 65 | $ hg branches |
|
71 | 66 | default 0:1160648e36ce |
|
72 | 67 | $ cd $TESTTMP |
@@ -103,12 +98,7 b' clone remote via pull' | |||
|
103 | 98 | verify |
|
104 | 99 | |
|
105 | 100 | $ cd local |
|
106 | $ hg verify | |
|
107 | checking changesets | |
|
108 | checking manifests | |
|
109 | crosschecking files in changesets and manifests | |
|
110 | checking files | |
|
111 | checked 3 changesets with 2 changes to 2 files | |
|
101 | $ hg verify -q | |
|
112 | 102 | $ cat >> .hg/hgrc <<EOF |
|
113 | 103 | > [hooks] |
|
114 | 104 | > changegroup = sh -c "printenv.py changegroup-in-local 0 ../dummylog" |
@@ -200,12 +190,7 b' check remote tip' | |||
|
200 | 190 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
201 | 191 | summary: add |
|
202 | 192 | |
|
203 | $ hg verify | |
|
204 | checking changesets | |
|
205 | checking manifests | |
|
206 | crosschecking files in changesets and manifests | |
|
207 | checking files | |
|
208 | checked 4 changesets with 3 changes to 2 files | |
|
193 | $ hg verify -q | |
|
209 | 194 | $ hg cat -r tip foo |
|
210 | 195 | bleah |
|
211 | 196 | $ echo z > z |
@@ -38,12 +38,7 b' one pull' | |||
|
38 | 38 | updating to branch default |
|
39 | 39 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
40 | 40 | $ cd local |
|
41 | $ hg verify | |
|
42 | checking changesets | |
|
43 | checking manifests | |
|
44 | crosschecking files in changesets and manifests | |
|
45 | checking files | |
|
46 | checked 1 changesets with 2 changes to 2 files | |
|
41 | $ hg verify -q | |
|
47 | 42 | $ cat bar |
|
48 | 43 | foo |
|
49 | 44 | $ cd ../remote |
@@ -134,13 +129,7 b' test with "/" URI (issue747) and subrepo' | |||
|
134 | 129 | new changesets be090ea66256:322ea90975df |
|
135 | 130 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
136 | 131 | $ cd local2 |
|
137 | $ hg verify | |
|
138 | checking changesets | |
|
139 | checking manifests | |
|
140 | crosschecking files in changesets and manifests | |
|
141 | checking files | |
|
142 | checked 1 changesets with 3 changes to 3 files | |
|
143 | checking subrepo links | |
|
132 | $ hg verify -q | |
|
144 | 133 | $ cat a |
|
145 | 134 | a |
|
146 | 135 | $ hg paths |
@@ -155,12 +144,7 b' test with empty repo (issue965)' | |||
|
155 | 144 | updating to branch default |
|
156 | 145 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
157 | 146 | $ cd local3 |
|
158 | $ hg verify | |
|
159 | checking changesets | |
|
160 | checking manifests | |
|
161 | crosschecking files in changesets and manifests | |
|
162 | checking files | |
|
163 | checked 0 changesets with 0 changes to 0 files | |
|
147 | $ hg verify -q | |
|
164 | 148 | $ hg paths |
|
165 | 149 | default = static-http://localhost:$HGPORT/remotempty |
|
166 | 150 |
@@ -80,35 +80,20 b' 2 1 0 2 0 1 2' | |||
|
80 | 80 | > echo "% Trying to strip revision $i" |
|
81 | 81 | > hg --cwd $i strip $i |
|
82 | 82 | > echo "% Verifying" |
|
83 | > hg --cwd $i verify | |
|
83 | > hg --cwd $i verify -q | |
|
84 | 84 | > echo |
|
85 | 85 | > done |
|
86 | 86 | % Trying to strip revision 0 |
|
87 | 87 | saved backup bundle to $TESTTMP/files/0/.hg/strip-backup/cbb8c2f0a2e3-239800b9-backup.hg |
|
88 | 88 | % Verifying |
|
89 | checking changesets | |
|
90 | checking manifests | |
|
91 | crosschecking files in changesets and manifests | |
|
92 | checking files | |
|
93 | checked 2 changesets with 12 changes to 6 files | |
|
94 | 89 | |
|
95 | 90 | % Trying to strip revision 1 |
|
96 | 91 | saved backup bundle to $TESTTMP/files/1/.hg/strip-backup/124ecc0cbec9-6104543f-backup.hg |
|
97 | 92 | % Verifying |
|
98 | checking changesets | |
|
99 | checking manifests | |
|
100 | crosschecking files in changesets and manifests | |
|
101 | checking files | |
|
102 | checked 2 changesets with 12 changes to 6 files | |
|
103 | 93 | |
|
104 | 94 | % Trying to strip revision 2 |
|
105 | 95 | saved backup bundle to $TESTTMP/files/2/.hg/strip-backup/f6439b304a1a-c6505a5f-backup.hg |
|
106 | 96 | % Verifying |
|
107 | checking changesets | |
|
108 | checking manifests | |
|
109 | crosschecking files in changesets and manifests | |
|
110 | checking files | |
|
111 | checked 2 changesets with 12 changes to 6 files | |
|
112 | 97 | |
|
113 | 98 | $ cd .. |
|
114 | 99 | |
@@ -139,26 +124,16 b' Do a similar test where the manifest rev' | |||
|
139 | 124 | > echo "% Trying to strip revision $i" |
|
140 | 125 | > hg --cwd $i strip $i |
|
141 | 126 | > echo "% Verifying" |
|
142 | > hg --cwd $i verify | |
|
127 | > hg --cwd $i verify -q | |
|
143 | 128 | > echo |
|
144 | 129 | > done |
|
145 | 130 | % Trying to strip revision 2 |
|
146 | 131 | saved backup bundle to $TESTTMP/manifests/2/.hg/strip-backup/f3015ad03c03-4d98bdc2-backup.hg |
|
147 | 132 | % Verifying |
|
148 | checking changesets | |
|
149 | checking manifests | |
|
150 | crosschecking files in changesets and manifests | |
|
151 | checking files | |
|
152 | checked 3 changesets with 3 changes to 2 files | |
|
153 | 133 | |
|
154 | 134 | % Trying to strip revision 3 |
|
155 | 135 | saved backup bundle to $TESTTMP/manifests/3/.hg/strip-backup/9632aa303aa4-69192e3f-backup.hg |
|
156 | 136 | % Verifying |
|
157 | checking changesets | |
|
158 | checking manifests | |
|
159 | crosschecking files in changesets and manifests | |
|
160 | checking files | |
|
161 | checked 3 changesets with 3 changes to 2 files | |
|
162 | 137 | |
|
163 | 138 | $ cd .. |
|
164 | 139 | |
@@ -194,27 +169,16 b' Now a similar test for a non-root manife' | |||
|
194 | 169 | > echo "% Trying to strip revision $i" |
|
195 | 170 | > hg --cwd $i strip $i |
|
196 | 171 | > echo "% Verifying" |
|
197 | > hg --cwd $i verify | |
|
172 | > hg --cwd $i verify -q | |
|
198 | 173 | > echo |
|
199 | 174 | > done |
|
200 | 175 | % Trying to strip revision 2 |
|
201 | 176 | saved backup bundle to $TESTTMP/treemanifests/2/.hg/strip-backup/145f5c75f9ac-a105cfbe-backup.hg |
|
202 | 177 | % Verifying |
|
203 | checking changesets | |
|
204 | checking manifests | |
|
205 | checking directory manifests | |
|
206 | crosschecking files in changesets and manifests | |
|
207 | checking files | |
|
208 | checked 3 changesets with 4 changes to 3 files | |
|
209 | 178 | |
|
210 | 179 | % Trying to strip revision 3 |
|
211 | 180 | saved backup bundle to $TESTTMP/treemanifests/3/.hg/strip-backup/e4e3de5c3cb2-f4c70376-backup.hg |
|
212 | 181 | % Verifying |
|
213 | checking changesets | |
|
214 | checking manifests | |
|
215 | checking directory manifests | |
|
216 | crosschecking files in changesets and manifests | |
|
217 | checking files | |
|
218 | checked 3 changesets with 4 changes to 3 files | |
|
219 | 182 | |
|
183 | ||
|
220 | 184 | $ cd .. |
@@ -111,13 +111,7 b' verify will warn if locked-in subrepo re' | |||
|
111 | 111 | |
|
112 | 112 | $ hg ci -m "amended subrepo (again)" |
|
113 | 113 | $ hg --config extensions.strip= --hidden strip -R subrepo -qr 'tip' --config devel.strip-obsmarkers=no |
|
114 | $ hg verify | |
|
115 | checking changesets | |
|
116 | checking manifests | |
|
117 | crosschecking files in changesets and manifests | |
|
118 | checking files | |
|
119 | checked 5 changesets with 5 changes to 2 files | |
|
120 | checking subrepo links | |
|
114 | $ hg verify -q | |
|
121 | 115 | subrepo 'subrepo' is hidden in revision a66de08943b6 |
|
122 | 116 | subrepo 'subrepo' is hidden in revision 674d05939c1e |
|
123 | 117 | subrepo 'subrepo' not found in revision a7d05d9055a4 |
@@ -125,13 +119,7 b' verify will warn if locked-in subrepo re' | |||
|
125 | 119 | verifying shouldn't init a new subrepo if the reference doesn't exist |
|
126 | 120 | |
|
127 | 121 | $ mv subrepo b |
|
128 | $ hg verify | |
|
129 | checking changesets | |
|
130 | checking manifests | |
|
131 | crosschecking files in changesets and manifests | |
|
132 | checking files | |
|
133 | checked 5 changesets with 5 changes to 2 files | |
|
134 | checking subrepo links | |
|
122 | $ hg verify -q | |
|
135 | 123 | 0: repository $TESTTMP/repo/subrepo not found |
|
136 | 124 | 1: repository $TESTTMP/repo/subrepo not found |
|
137 | 125 | 3: repository $TESTTMP/repo/subrepo not found |
@@ -399,13 +399,7 b' Pushing to an empty repo works' | |||
|
399 | 399 | added 11 changesets with 15 changes to 10 files (+3 heads) |
|
400 | 400 | $ hg debugrequires -R clone | grep treemanifest |
|
401 | 401 | treemanifest |
|
402 | $ hg -R clone verify | |
|
403 | checking changesets | |
|
404 | checking manifests | |
|
405 | checking directory manifests | |
|
406 | crosschecking files in changesets and manifests | |
|
407 | checking files | |
|
408 | checked 11 changesets with 15 changes to 10 files | |
|
402 | $ hg -R clone verify -q | |
|
409 | 403 | |
|
410 | 404 | Create deeper repo with tree manifests. |
|
411 | 405 | |
@@ -567,13 +561,7 b' Add some more changes to the deep repo' | |||
|
567 | 561 | $ hg ci -m troz |
|
568 | 562 | |
|
569 | 563 | Verify works |
|
570 | $ hg verify | |
|
571 | checking changesets | |
|
572 | checking manifests | |
|
573 | checking directory manifests | |
|
574 | crosschecking files in changesets and manifests | |
|
575 | checking files | |
|
576 | checked 4 changesets with 18 changes to 8 files | |
|
564 | $ hg verify -q | |
|
577 | 565 | |
|
578 | 566 | #if repofncache |
|
579 | 567 | Dirlogs are included in fncache |
@@ -707,13 +695,7 b' Tree manifest revlogs exist.' | |||
|
707 | 695 | deepclone/.hg/store/meta/~2e_a/00manifest.i (reporevlogstore !) |
|
708 | 696 | Verify passes. |
|
709 | 697 | $ cd deepclone |
|
710 | $ hg verify | |
|
711 | checking changesets | |
|
712 | checking manifests | |
|
713 | checking directory manifests | |
|
714 | crosschecking files in changesets and manifests | |
|
715 | checking files | |
|
716 | checked 4 changesets with 18 changes to 8 files | |
|
698 | $ hg verify -q | |
|
717 | 699 | $ cd .. |
|
718 | 700 | |
|
719 | 701 | #if reporevlogstore |
@@ -755,33 +737,15 b' Create clones using old repo formats to ' | |||
|
755 | 737 | |
|
756 | 738 | Local clone with basicstore |
|
757 | 739 | $ hg clone -U deeprepo-basicstore local-clone-basicstore |
|
758 | $ hg -R local-clone-basicstore verify | |
|
759 | checking changesets | |
|
760 | checking manifests | |
|
761 | checking directory manifests | |
|
762 | crosschecking files in changesets and manifests | |
|
763 | checking files | |
|
764 | checked 4 changesets with 18 changes to 8 files | |
|
740 | $ hg -R local-clone-basicstore verify -q | |
|
765 | 741 | |
|
766 | 742 | Local clone with encodedstore |
|
767 | 743 | $ hg clone -U deeprepo-encodedstore local-clone-encodedstore |
|
768 | $ hg -R local-clone-encodedstore verify | |
|
769 | checking changesets | |
|
770 | checking manifests | |
|
771 | checking directory manifests | |
|
772 | crosschecking files in changesets and manifests | |
|
773 | checking files | |
|
774 | checked 4 changesets with 18 changes to 8 files | |
|
744 | $ hg -R local-clone-encodedstore verify -q | |
|
775 | 745 | |
|
776 | 746 | Local clone with fncachestore |
|
777 | 747 | $ hg clone -U deeprepo local-clone-fncachestore |
|
778 | $ hg -R local-clone-fncachestore verify | |
|
779 | checking changesets | |
|
780 | checking manifests | |
|
781 | checking directory manifests | |
|
782 | crosschecking files in changesets and manifests | |
|
783 | checking files | |
|
784 | checked 4 changesets with 18 changes to 8 files | |
|
748 | $ hg -R local-clone-fncachestore verify -q | |
|
785 | 749 | |
|
786 | 750 | Stream clone with basicstore |
|
787 | 751 | $ hg clone --config experimental.changegroup3=True --stream -U \ |
@@ -789,13 +753,7 b' Stream clone with basicstore' | |||
|
789 | 753 | streaming all changes |
|
790 | 754 | 28 files to transfer, * of data (glob) |
|
791 | 755 | transferred * in * seconds (*) (glob) |
|
792 | $ hg -R stream-clone-basicstore verify | |
|
793 | checking changesets | |
|
794 | checking manifests | |
|
795 | checking directory manifests | |
|
796 | crosschecking files in changesets and manifests | |
|
797 | checking files | |
|
798 | checked 4 changesets with 18 changes to 8 files | |
|
756 | $ hg -R stream-clone-basicstore verify -q | |
|
799 | 757 | |
|
800 | 758 | Stream clone with encodedstore |
|
801 | 759 | $ hg clone --config experimental.changegroup3=True --stream -U \ |
@@ -803,13 +761,7 b' Stream clone with encodedstore' | |||
|
803 | 761 | streaming all changes |
|
804 | 762 | 28 files to transfer, * of data (glob) |
|
805 | 763 | transferred * in * seconds (*) (glob) |
|
806 | $ hg -R stream-clone-encodedstore verify | |
|
807 | checking changesets | |
|
808 | checking manifests | |
|
809 | checking directory manifests | |
|
810 | crosschecking files in changesets and manifests | |
|
811 | checking files | |
|
812 | checked 4 changesets with 18 changes to 8 files | |
|
764 | $ hg -R stream-clone-encodedstore verify -q | |
|
813 | 765 | |
|
814 | 766 | Stream clone with fncachestore |
|
815 | 767 | $ hg clone --config experimental.changegroup3=True --stream -U \ |
@@ -817,13 +769,7 b' Stream clone with fncachestore' | |||
|
817 | 769 | streaming all changes |
|
818 | 770 | 22 files to transfer, * of data (glob) |
|
819 | 771 | transferred * in * seconds (*) (glob) |
|
820 | $ hg -R stream-clone-fncachestore verify | |
|
821 | checking changesets | |
|
822 | checking manifests | |
|
823 | checking directory manifests | |
|
824 | crosschecking files in changesets and manifests | |
|
825 | checking files | |
|
826 | checked 4 changesets with 18 changes to 8 files | |
|
772 | $ hg -R stream-clone-fncachestore verify -q | |
|
827 | 773 | |
|
828 | 774 | Packed bundle |
|
829 | 775 | $ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg |
@@ -363,13 +363,7 b' Testing whether unamend retains copies o' | |||
|
363 | 363 | $ hg mv c wat |
|
364 | 364 | $ hg unamend |
|
365 | 365 | |
|
366 |
$ hg verify - |
|
|
367 | repository uses revlog format 1 | |
|
368 | checking changesets | |
|
369 | checking manifests | |
|
370 | crosschecking files in changesets and manifests | |
|
371 | checking files | |
|
372 | checked 28 changesets with 16 changes to 11 files | |
|
366 | $ hg verify -q | |
|
373 | 367 | |
|
374 | 368 | Retained copies in new prdecessor commit |
|
375 | 369 |
@@ -133,12 +133,7 b' union repos can be cloned ... and clones' | |||
|
133 | 133 | $ hg -R repo3 paths |
|
134 | 134 | default = union:repo1+repo2 |
|
135 | 135 | |
|
136 | $ hg -R repo3 verify | |
|
137 | checking changesets | |
|
138 | checking manifests | |
|
139 | crosschecking files in changesets and manifests | |
|
140 | checking files | |
|
141 | checked 6 changesets with 11 changes to 6 files | |
|
136 | $ hg -R repo3 verify -q | |
|
142 | 137 | |
|
143 | 138 | $ hg -R repo3 heads --template '{rev}:{node|short} {desc|firstline}\n' |
|
144 | 139 | 5:2f0d178c469c repo2-3 |
@@ -853,12 +853,7 b' manifest should be generaldelta' | |||
|
853 | 853 | |
|
854 | 854 | verify should be happy |
|
855 | 855 | |
|
856 | $ hg verify | |
|
857 | checking changesets | |
|
858 | checking manifests | |
|
859 | crosschecking files in changesets and manifests | |
|
860 | checking files | |
|
861 | checked 3 changesets with 3 changes to 3 files | |
|
856 | $ hg verify -q | |
|
862 | 857 | |
|
863 | 858 | old store should be backed up |
|
864 | 859 | |
@@ -995,12 +990,7 b' Check that the repo still works fine' | |||
|
995 | 990 | |
|
996 | 991 | |
|
997 | 992 | |
|
998 | $ hg verify | |
|
999 | checking changesets | |
|
1000 | checking manifests | |
|
1001 | crosschecking files in changesets and manifests | |
|
1002 | checking files | |
|
1003 | checked 3 changesets with 3 changes to 3 files | |
|
993 | $ hg verify -q | |
|
1004 | 994 | |
|
1005 | 995 | Check we can select negatively |
|
1006 | 996 | |
@@ -1047,12 +1037,7 b' Check we can select negatively' | |||
|
1047 | 1037 | store replacement complete; repository was inconsistent for *s (glob) |
|
1048 | 1038 | finalizing requirements file and making repository readable again |
|
1049 | 1039 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1050 | $ hg verify | |
|
1051 | checking changesets | |
|
1052 | checking manifests | |
|
1053 | crosschecking files in changesets and manifests | |
|
1054 | checking files | |
|
1055 | checked 3 changesets with 3 changes to 3 files | |
|
1040 | $ hg verify -q | |
|
1056 | 1041 | |
|
1057 | 1042 | Check that we can select changelog only |
|
1058 | 1043 | |
@@ -1098,12 +1083,7 b' Check that we can select changelog only' | |||
|
1098 | 1083 | store replacement complete; repository was inconsistent for *s (glob) |
|
1099 | 1084 | finalizing requirements file and making repository readable again |
|
1100 | 1085 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1101 | $ hg verify | |
|
1102 | checking changesets | |
|
1103 | checking manifests | |
|
1104 | crosschecking files in changesets and manifests | |
|
1105 | checking files | |
|
1106 | checked 3 changesets with 3 changes to 3 files | |
|
1086 | $ hg verify -q | |
|
1107 | 1087 | |
|
1108 | 1088 | Check that we can select filelog only |
|
1109 | 1089 | |
@@ -1149,12 +1129,7 b' Check that we can select filelog only' | |||
|
1149 | 1129 | store replacement complete; repository was inconsistent for *s (glob) |
|
1150 | 1130 | finalizing requirements file and making repository readable again |
|
1151 | 1131 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1152 | $ hg verify | |
|
1153 | checking changesets | |
|
1154 | checking manifests | |
|
1155 | crosschecking files in changesets and manifests | |
|
1156 | checking files | |
|
1157 | checked 3 changesets with 3 changes to 3 files | |
|
1132 | $ hg verify -q | |
|
1158 | 1133 | |
|
1159 | 1134 | |
|
1160 | 1135 | Check you can't skip revlog clone during important format downgrade |
@@ -1224,12 +1199,7 b" Check you can't skip revlog clone during" | |||
|
1224 | 1199 | store replacement complete; repository was inconsistent for *s (glob) |
|
1225 | 1200 | finalizing requirements file and making repository readable again |
|
1226 | 1201 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1227 | $ hg verify | |
|
1228 | checking changesets | |
|
1229 | checking manifests | |
|
1230 | crosschecking files in changesets and manifests | |
|
1231 | checking files | |
|
1232 | checked 3 changesets with 3 changes to 3 files | |
|
1202 | $ hg verify -q | |
|
1233 | 1203 | |
|
1234 | 1204 | Check you can't skip revlog clone during important format upgrade |
|
1235 | 1205 | |
@@ -1285,12 +1255,7 b" Check you can't skip revlog clone during" | |||
|
1285 | 1255 | store replacement complete; repository was inconsistent for *s (glob) |
|
1286 | 1256 | finalizing requirements file and making repository readable again |
|
1287 | 1257 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1288 | $ hg verify | |
|
1289 | checking changesets | |
|
1290 | checking manifests | |
|
1291 | crosschecking files in changesets and manifests | |
|
1292 | checking files | |
|
1293 | checked 3 changesets with 3 changes to 3 files | |
|
1258 | $ hg verify -q | |
|
1294 | 1259 | |
|
1295 | 1260 | $ cd .. |
|
1296 | 1261 | |
@@ -1413,12 +1378,7 b' Check upgrading a large file repository' | |||
|
1413 | 1378 | lfs |
|
1414 | 1379 | $ find .hg/store/lfs -type f |
|
1415 | 1380 | .hg/store/lfs/objects/d0/beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f |
|
1416 | $ hg verify | |
|
1417 | checking changesets | |
|
1418 | checking manifests | |
|
1419 | crosschecking files in changesets and manifests | |
|
1420 | checking files | |
|
1421 | checked 2 changesets with 2 changes to 2 files | |
|
1381 | $ hg verify -q | |
|
1422 | 1382 | $ hg debugdata lfs.bin 0 |
|
1423 | 1383 | version https://git-lfs.github.com/spec/v1 |
|
1424 | 1384 | oid sha256:d0beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f |
@@ -275,12 +275,7 b' test changelog without a manifest' | |||
|
275 | 275 | marked working directory as branch foo |
|
276 | 276 | (branches are permanent and global, did you want a bookmark?) |
|
277 | 277 | $ hg ci -m branchfoo |
|
278 | $ hg verify | |
|
279 | checking changesets | |
|
280 | checking manifests | |
|
281 | crosschecking files in changesets and manifests | |
|
282 | checking files | |
|
283 | checked 1 changesets with 0 changes to 0 files | |
|
278 | $ hg verify -q | |
|
284 | 279 | |
|
285 | 280 | test revlog corruption |
|
286 | 281 | |
@@ -292,14 +287,9 b' test revlog corruption' | |||
|
292 | 287 | $ dd if=.hg/store/data/a.i of=start bs=1 count=20 2>/dev/null |
|
293 | 288 | $ cat start b > .hg/store/data/a.i |
|
294 | 289 | |
|
295 | $ hg verify | |
|
296 | checking changesets | |
|
297 | checking manifests | |
|
298 | crosschecking files in changesets and manifests | |
|
299 | checking files | |
|
290 | $ hg verify -q | |
|
300 | 291 | a@1: broken revlog! (index a is corrupted) |
|
301 | 292 | warning: orphan data file 'data/a.i' |
|
302 | checked 2 changesets with 0 changes to 1 files | |
|
303 | 293 | 1 warnings encountered! |
|
304 | 294 | 1 integrity errors encountered! |
|
305 | 295 | (first damaged changeset appears to be 1) |
@@ -330,12 +320,7 b' test flag processor and skipflags' | |||
|
330 | 320 | > EOF |
|
331 | 321 | $ echo '[BASE64]content' > base64 |
|
332 | 322 | $ hg commit -Aqm 'flag processor content' base64 |
|
333 | $ hg verify | |
|
334 | checking changesets | |
|
335 | checking manifests | |
|
336 | crosschecking files in changesets and manifests | |
|
337 | checking files | |
|
338 | checked 1 changesets with 1 changes to 1 files | |
|
323 | $ hg verify -q | |
|
339 | 324 | |
|
340 | 325 | $ cat >> $TESTTMP/break-base64.py <<EOF |
|
341 | 326 | > import base64 |
@@ -345,20 +330,10 b' test flag processor and skipflags' | |||
|
345 | 330 | > breakbase64=$TESTTMP/break-base64.py |
|
346 | 331 | > EOF |
|
347 | 332 | |
|
348 | $ hg verify | |
|
349 | checking changesets | |
|
350 | checking manifests | |
|
351 | crosschecking files in changesets and manifests | |
|
352 | checking files | |
|
333 | $ hg verify -q | |
|
353 | 334 | base64@0: unpacking 794cee7777cb: integrity check failed on base64:0 |
|
354 | checked 1 changesets with 1 changes to 1 files | |
|
355 | 335 | 1 integrity errors encountered! |
|
356 | 336 | (first damaged changeset appears to be 0) |
|
357 | 337 | [1] |
|
358 | $ hg verify --config verify.skipflags=2147483647 | |
|
359 | checking changesets | |
|
360 | checking manifests | |
|
361 | crosschecking files in changesets and manifests | |
|
362 | checking files | |
|
363 | checked 1 changesets with 1 changes to 1 files | |
|
338 | $ hg verify --config verify.skipflags=2147483647 -q | |
|
364 | 339 |
General Comments 0
You need to be logged in to leave comments.
Login now