Mercurial > public > mercurial-scm > hg
diff mercurial/configitems.py @ 48235:5c567aca080d
dirstate-v2: add an option to prevent unintentional slow dirstate-v2
This is the project policy discussed in November 2020 and already put to use for
the persistent nodemap.
Differential Revision: https://phab.mercurial-scm.org/D11668
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 15 Oct 2021 01:27:39 +0200 |
parents | bf8837e3d7ce |
children | 4d2ab365699e |
line wrap: on
line diff
--- a/mercurial/configitems.py Thu Oct 14 22:35:46 2021 -0700 +++ b/mercurial/configitems.py Fri Oct 15 01:27:39 2021 +0200 @@ -1885,6 +1885,13 @@ default=b'skip', experimental=True, ) +# experimental as long as format.exp-dirstate-v2 is. +coreconfigitem( + b'storage', + b'dirstate-v2.slow-path', + default=b"abort", + experimental=True, +) coreconfigitem( b'storage', b'new-repo-backend',