Mercurial > hg
changeset 48035:ce01b97a93da stable
persistent-nodemap: use quiet upgrade in tests
This make them less verbose while keeping the important information in the
checked output.
Differential Revision: https://phab.mercurial-scm.org/D11478
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 20 Sep 2021 18:18:15 +0200 |
parents | b833f8cbe199 |
children | 1c447fb82232 |
files | tests/test-persistent-nodemap.t |
diffstat | 1 files changed, 2 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t Mon Sep 20 18:08:46 2021 +0200 +++ b/tests/test-persistent-nodemap.t Mon Sep 20 18:18:15 2021 +0200 @@ -631,7 +631,7 @@ compression: zlib zlib zlib (no-zstd !) compression: zstd zstd zstd (zstd !) compression-level: default default default - $ hg debugupgraderepo --run --no-backup + $ hg debugupgraderepo --run --no-backup --quiet upgrade will perform the following actions: requirements @@ -645,12 +645,6 @@ - changelog - manifest - beginning upgrade... - repository locked and read-only - creating temporary repository to stage upgraded data: $TESTTMP/test-repo/.hg/upgrade.* (glob) - (it is safe to interrupt this process any time before data migration completes) - downgrading repository to not use persistent nodemap feature - removing temporary repository $TESTTMP/test-repo/.hg/upgrade.* (glob) $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' 00changelog-*.nd (glob) 00manifest-*.nd (glob) @@ -681,7 +675,7 @@ compression: zlib zlib zlib (no-zstd !) compression: zstd zstd zstd (zstd !) compression-level: default default default - $ hg debugupgraderepo --run --no-backup + $ hg debugupgraderepo --run --no-backup --quiet upgrade will perform the following actions: requirements @@ -690,20 +684,11 @@ preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd dirstate-v2 !) added: persistent-nodemap - persistent-nodemap - Speedup revision lookup by node id. - processed revlogs: - all-filelogs - changelog - manifest - beginning upgrade... - repository locked and read-only - creating temporary repository to stage upgraded data: $TESTTMP/test-repo/.hg/upgrade.* (glob) - (it is safe to interrupt this process any time before data migration completes) - upgrading repository to use persistent nodemap feature - removing temporary repository $TESTTMP/test-repo/.hg/upgrade.* (glob) $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' 00changelog-*.nd (glob) 00changelog.n