Mercurial > hg-stable
changeset 48338:25c352b58b4e stable
dirstate-v2: test upgrade without rust too
There is no reason to gate this anymore.
Differential Revision: https://phab.mercurial-scm.org/D11865
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 06 Dec 2021 10:52:40 +0100 |
parents | 18032c282a7e |
children | 6e4999cb085e |
files | tests/test-upgrade-repo.t |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t Tue Dec 07 10:03:00 2021 +0100 +++ b/tests/test-upgrade-repo.t Mon Dec 06 10:52:40 2021 +0100 @@ -1634,7 +1634,14 @@ $ hg debugupgraderepo --run nothing to do -#if rust +#if no-rust + + $ cat << EOF >> $HGRCPATH + > [storage] + > dirstate-v2.slow-path = allow + > EOF + +#endif Upgrade to dirstate-v2 @@ -1644,7 +1651,7 @@ upgrade will perform the following actions: requirements - preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store + preserved: * (glob) added: dirstate-v2 dirstate-v2 @@ -1676,7 +1683,7 @@ upgrade will perform the following actions: requirements - preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store + preserved: * (glob) removed: dirstate-v2 processed revlogs: @@ -1694,5 +1701,3 @@ $ hg debugformat -v | grep dirstate-v2 dirstate-v2: no no no $ hg status - -#endif