Mercurial > hg
comparison mercurial/helptext/config.txt @ 46308:05a1e44b2224
persistent-nodemap: add a revlog.storage.persistent-nodemap.slow-path option
As discussed during the sprint, we want to prevent user to get an unexpected
performance regression when accessing a repository using "persistent-nodemap"
without the associated Rust extension.
We start by adding a config declaration and some documentation.
Since "allow" is the current behavior, we don't need to add any code. The option
possible value will come later.
Note that we already have a `storage.revlog.nodemap.mode` option, but that
option is a bit different. It does some warning and checking at revlog
instantiation time. While we want something done at requirements checking time.
Since we plan for new names and new config value names, we introduce a new
option and will drop the old one later.
Differential Revision: https://phab.mercurial-scm.org/D9758
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Jan 2021 01:25:06 +0100 |
parents | 51da7c8ef357 |
children | fc2d5c0aed7f |
comparison
equal
deleted
inserted
replaced
46307:51da7c8ef357 | 46308:05a1e44b2224 |
---|---|
1951 Default to True. | 1951 Default to True. |
1952 | 1952 |
1953 For details on the "persistent-nodemap" feature, see: | 1953 For details on the "persistent-nodemap" feature, see: |
1954 :hg:`help config format.use-persistent-nodemap`. | 1954 :hg:`help config format.use-persistent-nodemap`. |
1955 | 1955 |
1956 ``revlog.persistent-nodemap.slow-path`` | |
1957 Control the behavior of Merucrial when using a repository with "persistent" | |
1958 nodemap with an installation of Mercurial without a fast implementation for | |
1959 the feature: | |
1960 | |
1961 ``allow``: Silently use the slower implementation to access the repository. | |
1962 | |
1963 Default to "allow" | |
1964 | |
1965 For details on the "persistent-nodemap" feature, see: | |
1966 :hg:`help config format.use-persistent-nodemap`. | |
1967 | |
1956 ``revlog.reuse-external-delta-parent`` | 1968 ``revlog.reuse-external-delta-parent`` |
1957 Control the order in which delta parents are considered when adding new | 1969 Control the order in which delta parents are considered when adding new |
1958 revisions from an external source. | 1970 revisions from an external source. |
1959 (typically: apply bundle from `hg pull` or `hg push`). | 1971 (typically: apply bundle from `hg pull` or `hg push`). |
1960 | 1972 |