Mercurial > hg
comparison tests/test-censor.t @ 39489:f1186c292d03
verify: make output less confusing (issue5924)
output before: "500 files, 2035 changesets, 2622 total revisions"
output after: "checked 2035 changesets with 2622 changes to 500 files"
new one was suggested in the comments inside the issue.
Differential Revision: https://phab.mercurial-scm.org/D4476
author | Meirambek Omyrzak <meirambek77@gmail.com> |
---|---|
date | Wed, 05 Sep 2018 01:19:48 +0300 |
parents | 89630d0b3e23 |
children | 5abc47d4ca6b |
comparison
equal
deleted
inserted
replaced
39488:d629b6d2f05a | 39489:f1186c292d03 |
---|---|
178 checking manifests | 178 checking manifests |
179 crosschecking files in changesets and manifests | 179 crosschecking files in changesets and manifests |
180 checking files | 180 checking files |
181 target@1: censored file data | 181 target@1: censored file data |
182 target@2: censored file data | 182 target@2: censored file data |
183 2 files, 5 changesets, 7 total revisions | 183 checked 5 changesets with 7 changes to 2 files |
184 2 integrity errors encountered! | 184 2 integrity errors encountered! |
185 (first damaged changeset appears to be 1) | 185 (first damaged changeset appears to be 1) |
186 [1] | 186 [1] |
187 | 187 |
188 Cannot update to revision with censored data | 188 Cannot update to revision with censored data |
213 $ hg verify | 213 $ hg verify |
214 checking changesets | 214 checking changesets |
215 checking manifests | 215 checking manifests |
216 crosschecking files in changesets and manifests | 216 crosschecking files in changesets and manifests |
217 checking files | 217 checking files |
218 2 files, 5 changesets, 7 total revisions | 218 checked 5 changesets with 7 changes to 2 files |
219 | 219 |
220 May update to revision with censored data with explicit config | 220 May update to revision with censored data with explicit config |
221 | 221 |
222 $ hg update -r $C2 | 222 $ hg update -r $C2 |
223 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 223 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
339 $ hg verify | 339 $ hg verify |
340 checking changesets | 340 checking changesets |
341 checking manifests | 341 checking manifests |
342 crosschecking files in changesets and manifests | 342 crosschecking files in changesets and manifests |
343 checking files | 343 checking files |
344 2 files, 12 changesets, 13 total revisions | 344 checked 12 changesets with 13 changes to 2 files |
345 | 345 |
346 Repo cloned before tainted content introduced can pull censored nodes | 346 Repo cloned before tainted content introduced can pull censored nodes |
347 | 347 |
348 $ cd ../rpull | 348 $ cd ../rpull |
349 $ hg cat -r tip target | 349 $ hg cat -r tip target |
351 $ hg verify | 351 $ hg verify |
352 checking changesets | 352 checking changesets |
353 checking manifests | 353 checking manifests |
354 crosschecking files in changesets and manifests | 354 crosschecking files in changesets and manifests |
355 checking files | 355 checking files |
356 2 files, 1 changesets, 2 total revisions | 356 checked 1 changesets with 2 changes to 2 files |
357 $ hg pull -r $H1 -r $H2 | 357 $ hg pull -r $H1 -r $H2 |
358 pulling from $TESTTMP/r | 358 pulling from $TESTTMP/r |
359 searching for changes | 359 searching for changes |
360 adding changesets | 360 adding changesets |
361 adding manifests | 361 adding manifests |
378 $ hg verify | 378 $ hg verify |
379 checking changesets | 379 checking changesets |
380 checking manifests | 380 checking manifests |
381 crosschecking files in changesets and manifests | 381 crosschecking files in changesets and manifests |
382 checking files | 382 checking files |
383 2 files, 12 changesets, 13 total revisions | 383 checked 12 changesets with 13 changes to 2 files |
384 | 384 |
385 Censored nodes can be pushed if they censor previously unexchanged nodes | 385 Censored nodes can be pushed if they censor previously unexchanged nodes |
386 | 386 |
387 $ echo 'Passwords: hunter2hunter2' > target | 387 $ echo 'Passwords: hunter2hunter2' > target |
388 $ hg ci -m 're-add password from clone' target | 388 $ hg ci -m 're-add password from clone' target |
438 $ hg verify | 438 $ hg verify |
439 checking changesets | 439 checking changesets |
440 checking manifests | 440 checking manifests |
441 crosschecking files in changesets and manifests | 441 crosschecking files in changesets and manifests |
442 checking files | 442 checking files |
443 2 files, 14 changesets, 15 total revisions | 443 checked 14 changesets with 15 changes to 2 files |
444 | 444 |
445 Censored nodes can be imported on top of censored nodes, consecutively | 445 Censored nodes can be imported on top of censored nodes, consecutively |
446 | 446 |
447 $ hg init ../rimport | 447 $ hg init ../rimport |
448 $ hg bundle --base 1 ../rimport/splitbundle | 448 $ hg bundle --base 1 ../rimport/splitbundle |
470 $ hg verify | 470 $ hg verify |
471 checking changesets | 471 checking changesets |
472 checking manifests | 472 checking manifests |
473 crosschecking files in changesets and manifests | 473 crosschecking files in changesets and manifests |
474 checking files | 474 checking files |
475 2 files, 14 changesets, 15 total revisions | 475 checked 14 changesets with 15 changes to 2 files |
476 $ cd ../r | 476 $ cd ../r |
477 | 477 |
478 Can import bundle where first revision of a file is censored | 478 Can import bundle where first revision of a file is censored |
479 | 479 |
480 $ hg init ../rinit | 480 $ hg init ../rinit |