Show More
@@ -1644,3 +1644,42 b' upgrade from hgrc' | |||||
1644 | sparserevlog |
|
1644 | sparserevlog | |
1645 | store |
|
1645 | store | |
1646 | $ hg debugsidedata -c 0 |
|
1646 | $ hg debugsidedata -c 0 | |
|
1647 | ||||
|
1648 | Demonstrate that nothing to perform upgrade will still run all the way through | |||
|
1649 | FIXME: this should return early | |||
|
1650 | ||||
|
1651 | $ hg debugupgraderepo --run | |||
|
1652 | upgrade will perform the following actions: | |||
|
1653 | ||||
|
1654 | requirements | |||
|
1655 | preserved: dotencode, exp-sidedata-flag, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store | |||
|
1656 | ||||
|
1657 | processed revlogs: | |||
|
1658 | - all-filelogs | |||
|
1659 | - changelog | |||
|
1660 | - manifest | |||
|
1661 | ||||
|
1662 | beginning upgrade... | |||
|
1663 | repository locked and read-only | |||
|
1664 | creating temporary repository to stage upgraded data: $TESTTMP/sparserevlogrepo/.hg/upgrade.* (glob) | |||
|
1665 | (it is safe to interrupt this process any time before data migration completes) | |||
|
1666 | migrating 3 total revisions (1 in filelogs, 1 in manifests, 1 in changelog) | |||
|
1667 | migrating 297 bytes in store; 103 bytes tracked data | |||
|
1668 | migrating 1 filelogs containing 1 revisions (64 bytes in store; 0 bytes tracked data) | |||
|
1669 | finished migrating 1 filelog revisions across 1 filelogs; change in size: 0 bytes | |||
|
1670 | migrating 1 manifests containing 1 revisions (110 bytes in store; 45 bytes tracked data) | |||
|
1671 | finished migrating 1 manifest revisions across 1 manifests; change in size: 0 bytes | |||
|
1672 | migrating changelog containing 1 revisions (123 bytes in store; 58 bytes tracked data) | |||
|
1673 | finished migrating 1 changelog revisions; change in size: 0 bytes | |||
|
1674 | finished migrating 3 total revisions; total change in store size: 0 bytes | |||
|
1675 | copying phaseroots | |||
|
1676 | data fully upgraded in a temporary repository | |||
|
1677 | marking source repository as being upgraded; clients will be unable to read from repository | |||
|
1678 | starting in-place swap of repository data | |||
|
1679 | replaced files will be backed up at $TESTTMP/sparserevlogrepo/.hg/upgradebackup.* (glob) | |||
|
1680 | replacing store... | |||
|
1681 | store replacement complete; repository was inconsistent for *s (glob) | |||
|
1682 | finalizing requirements file and making repository readable again | |||
|
1683 | removing temporary repository $TESTTMP/sparserevlogrepo/.hg/upgrade.* (glob) | |||
|
1684 | copy of old repository backed up at $TESTTMP/sparserevlogrepo/.hg/upgradebackup.* (glob) | |||
|
1685 | the old repository will not be deleted; remove it to free up disk space once the upgraded repository is verified |
General Comments 0
You need to be logged in to leave comments.
Login now