comparison tests/test-persistent-nodemap.t @ 46884:cc3ad5c3af3b

persistent-nodemap: enable the feature by default when using Rust As discussed at the 5.6 sprint, we can make it enabled by default, but only for Rust installation. Differential Revision: https://phab.mercurial-scm.org/D9765
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Jan 2021 04:58:20 +0100
parents 84a93fa7ecfd
children 6085b7f1536d
comparison
equal deleted inserted replaced
46883:df76da69f5b1 46884:cc3ad5c3af3b
1 =================================== 1 ===================================
2 Test the persistent on-disk nodemap 2 Test the persistent on-disk nodemap
3 =================================== 3 ===================================
4
5
6 #if no-rust
4 7
5 $ cat << EOF >> $HGRCPATH 8 $ cat << EOF >> $HGRCPATH
6 > [format] 9 > [format]
7 > use-persistent-nodemap=yes 10 > use-persistent-nodemap=yes
8 > [devel] 11 > [devel]
9 > persistent-nodemap=yes 12 > persistent-nodemap=yes
10 > EOF 13 > EOF
14
15 #endif
11 16
12 $ hg init test-repo --config storage.revlog.persistent-nodemap.slow-path=allow 17 $ hg init test-repo --config storage.revlog.persistent-nodemap.slow-path=allow
13 $ cd test-repo 18 $ cd test-repo
14 19
15 Check handling of the default slow-path value 20 Check handling of the default slow-path value