Mercurial > public > mercurial-scm > hg
diff tests/test-persistent-nodemap.t @ 46306:7d096e5a5b90
persistent-nodemap: rename the storage.revlog.nodemap.mmap option
Since the feature is publicly known as "persistent-nodemap" this seems better to
reference it as "persistent-nodemap" in related config too. So we rename the
option to `storage.revlog.persistent-nodemap.mmap`.
Differential Revision: https://phab.mercurial-scm.org/D9756
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 13 Jan 2021 23:51:12 +0100 |
parents | 1cebad969d88 |
children | 2c9c88879ab7 |
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t Thu Jan 14 00:56:27 2021 +0100 +++ b/tests/test-persistent-nodemap.t Wed Jan 13 23:51:12 2021 +0100 @@ -169,12 +169,12 @@ $ echo bar > bar $ hg add bar - $ hg ci -m 'bar' --config storage.revlog.nodemap.mmap=no + $ hg ci -m 'bar' --config storage.revlog.persistent-nodemap.mmap=no - $ hg debugnodemap --check --config storage.revlog.nodemap.mmap=yes + $ hg debugnodemap --check --config storage.revlog.persistent-nodemap.mmap=yes revision in index: 5003 revision in nodemap: 5003 - $ hg debugnodemap --check --config storage.revlog.nodemap.mmap=no + $ hg debugnodemap --check --config storage.revlog.persistent-nodemap.mmap=no revision in index: 5003 revision in nodemap: 5003