Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 44870:d688a8d537b9
nodemap: move the main switch to the `format` section
The config to enable persistent nodemap is now `format.use-persistent-nodemap`.
However the option remain marked as experimental because it only improve
performance for people using the rust extensions.
Differential Revision: https://phab.mercurial-scm.org/D8419
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 14 Apr 2020 03:18:14 +0200 |
parents | 5e3c718692bb |
children | 059c99af141d |
comparison
equal
deleted
inserted
replaced
44869:5e3c718692bb | 44870:d688a8d537b9 |
---|---|
3662 requirements.add(b'lfs') | 3662 requirements.add(b'lfs') |
3663 | 3663 |
3664 if ui.configbool(b'format', b'bookmarks-in-store'): | 3664 if ui.configbool(b'format', b'bookmarks-in-store'): |
3665 requirements.add(bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT) | 3665 requirements.add(bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT) |
3666 | 3666 |
3667 if ui.configbool(b'experimental', b'exp-persistent-nodemap'): | 3667 if ui.configbool(b'format', b'use-persistent-nodemap'): |
3668 requirements.add(NODEMAP_REQUIREMENT) | 3668 requirements.add(NODEMAP_REQUIREMENT) |
3669 | 3669 |
3670 return requirements | 3670 return requirements |
3671 | 3671 |
3672 | 3672 |