##// END OF EJS Templates
test: unquiet few tests to demonstrate changes in upcoming patches...
Pulkit Goyal -
r47095:8b02f132 default
parent child Browse files
Show More
@@ -352,18 +352,45 b' Upgrade'
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
361
362 share-safe
363 Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs.
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
@@ -432,7 +459,7 b' Test that downgrading works too'
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
@@ -444,6 +471,31 b' Test that downgrading works too'
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
General Comments 0
You need to be logged in to leave comments. Login now