--- a/mercurial/configitems.py Tue Jan 17 14:53:18 2023 +0100
+++ b/mercurial/configitems.py Mon Jan 23 17:21:14 2023 +0100
@@ -1473,22 +1473,10 @@
b'usestore',
default=True,
)
-
-
-def _persistent_nodemap_default():
- """compute `use-persistent-nodemap` default value
-
- The feature is disabled unless a fast implementation is available.
- """
- from . import policy
-
- return policy.importrust('revlog') is not None
-
-
coreconfigitem(
b'format',
b'use-persistent-nodemap',
- default=_persistent_nodemap_default,
+ default=dynamicdefault,
)
coreconfigitem(
b'format',