Mercurial > hg
comparison tests/test-share-safe.t @ 46378:8b02f132adf6
test: unquiet few tests to demonstrate changes in upcoming patches
Upcoming patches will skip revlog cloning for share-safe upgrades.
Differential Revision: https://phab.mercurial-scm.org/D9773
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 14 Jan 2021 17:27:54 +0530 |
parents | 4b0192f592cf |
children | f2c4224e6648 |
comparison
equal
deleted
inserted
replaced
46377:60ea95471b83 | 46378:8b02f132adf6 |
---|---|
350 processed revlogs: | 350 processed revlogs: |
351 - all-filelogs | 351 - all-filelogs |
352 - changelog | 352 - changelog |
353 - manifest | 353 - manifest |
354 | 354 |
355 $ hg debugupgraderepo --run -q | 355 $ hg debugupgraderepo --run |
356 upgrade will perform the following actions: | 356 upgrade will perform the following actions: |
357 | 357 |
358 requirements | 358 requirements |
359 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | 359 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
360 added: share-safe | 360 added: share-safe |
361 | |
362 share-safe | |
363 Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs. | |
361 | 364 |
362 processed revlogs: | 365 processed revlogs: |
363 - all-filelogs | 366 - all-filelogs |
364 - changelog | 367 - changelog |
365 - manifest | 368 - manifest |
366 | 369 |
370 beginning upgrade... | |
371 repository locked and read-only | |
372 creating temporary repository to stage upgraded data: $TESTTMP/non-share-safe/.hg/upgrade.* (glob) | |
373 (it is safe to interrupt this process any time before data migration completes) | |
374 migrating 6 total revisions (2 in filelogs, 2 in manifests, 2 in changelog) | |
375 migrating 626 bytes in store; 271 bytes tracked data | |
376 migrating 2 filelogs containing 2 revisions (138 bytes in store; 8 bytes tracked data) | |
377 finished migrating 2 filelog revisions across 2 filelogs; change in size: 0 bytes | |
378 migrating 1 manifests containing 2 revisions (230 bytes in store; 135 bytes tracked data) | |
379 finished migrating 2 manifest revisions across 1 manifests; change in size: 0 bytes | |
380 migrating changelog containing 2 revisions (258 bytes in store; 128 bytes tracked data) | |
381 finished migrating 2 changelog revisions; change in size: 0 bytes | |
382 finished migrating 6 total revisions; total change in store size: 0 bytes | |
383 copying phaseroots | |
384 data fully upgraded in a temporary repository | |
385 marking source repository as being upgraded; clients will be unable to read from repository | |
386 starting in-place swap of repository data | |
387 replaced files will be backed up at $TESTTMP/non-share-safe/.hg/upgradebackup.* (glob) | |
388 replacing store... | |
389 store replacement complete; repository was inconsistent for *s (glob) | |
390 finalizing requirements file and making repository readable again | |
391 removing temporary repository $TESTTMP/non-share-safe/.hg/upgrade.* (glob) | |
392 copy of old repository backed up at $TESTTMP/non-share-safe/.hg/upgradebackup.* (glob) | |
393 the old repository will not be deleted; remove it to free up disk space once the upgraded repository is verified | |
367 repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode. | 394 repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode. |
368 | 395 |
369 $ hg debugrequirements | 396 $ hg debugrequirements |
370 dotencode | 397 dotencode |
371 fncache | 398 fncache |
430 processed revlogs: | 457 processed revlogs: |
431 - all-filelogs | 458 - all-filelogs |
432 - changelog | 459 - changelog |
433 - manifest | 460 - manifest |
434 | 461 |
435 $ hg debugupgraderepo -q --run | 462 $ hg debugupgraderepo --run |
436 upgrade will perform the following actions: | 463 upgrade will perform the following actions: |
437 | 464 |
438 requirements | 465 requirements |
439 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | 466 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
440 removed: share-safe | 467 removed: share-safe |
442 processed revlogs: | 469 processed revlogs: |
443 - all-filelogs | 470 - all-filelogs |
444 - changelog | 471 - changelog |
445 - manifest | 472 - manifest |
446 | 473 |
474 beginning upgrade... | |
475 repository locked and read-only | |
476 creating temporary repository to stage upgraded data: $TESTTMP/non-share-safe/.hg/upgrade.* (glob) | |
477 (it is safe to interrupt this process any time before data migration completes) | |
478 migrating 6 total revisions (2 in filelogs, 2 in manifests, 2 in changelog) | |
479 migrating 626 bytes in store; 271 bytes tracked data | |
480 migrating 2 filelogs containing 2 revisions (138 bytes in store; 8 bytes tracked data) | |
481 finished migrating 2 filelog revisions across 2 filelogs; change in size: 0 bytes | |
482 migrating 1 manifests containing 2 revisions (230 bytes in store; 135 bytes tracked data) | |
483 finished migrating 2 manifest revisions across 1 manifests; change in size: 0 bytes | |
484 migrating changelog containing 2 revisions (258 bytes in store; 128 bytes tracked data) | |
485 finished migrating 2 changelog revisions; change in size: 0 bytes | |
486 finished migrating 6 total revisions; total change in store size: 0 bytes | |
487 copying phaseroots | |
488 copying requires | |
489 data fully upgraded in a temporary repository | |
490 marking source repository as being upgraded; clients will be unable to read from repository | |
491 starting in-place swap of repository data | |
492 replaced files will be backed up at $TESTTMP/non-share-safe/.hg/upgradebackup.* (glob) | |
493 replacing store... | |
494 store replacement complete; repository was inconsistent for *s (glob) | |
495 finalizing requirements file and making repository readable again | |
496 removing temporary repository $TESTTMP/non-share-safe/.hg/upgrade.* (glob) | |
497 copy of old repository backed up at $TESTTMP/non-share-safe/.hg/upgradebackup.* (glob) | |
498 the old repository will not be deleted; remove it to free up disk space once the upgraded repository is verified | |
447 repository downgraded to not use share safe mode, existing shares will not work and needs to be reshared. | 499 repository downgraded to not use share safe mode, existing shares will not work and needs to be reshared. |
448 | 500 |
449 $ hg debugrequirements | 501 $ hg debugrequirements |
450 dotencode | 502 dotencode |
451 fncache | 503 fncache |