Mercurial > hg
diff mercurial/localrepo.py @ 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 | d46646ce3158 |
children | 2c9c88879ab7 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Jan 14 00:56:27 2021 +0100 +++ b/mercurial/localrepo.py Wed Jan 13 23:51:12 2021 +0100 @@ -1045,7 +1045,7 @@ options[b'rust.index'] = True if requirementsmod.NODEMAP_REQUIREMENT in requirements: options[b'persistent-nodemap'] = True - if ui.configbool(b'storage', b'revlog.nodemap.mmap'): + if ui.configbool(b'storage', b'revlog.persistent-nodemap.mmap'): options[b'persistent-nodemap.mmap'] = True epnm = ui.config(b'storage', b'revlog.nodemap.mode') options[b'persistent-nodemap.mode'] = epnm