mercurial/localrepo.py
changeset 46334 4b0192f592cf
parent 46333 2eb5fe13461b
child 46348 4a58561ace0f
child 46371 0903d6b9b1df
--- a/mercurial/localrepo.py	Fri Jan 15 12:08:07 2021 +0530
+++ b/mercurial/localrepo.py	Mon Jan 18 19:16:49 2021 +0530
@@ -3474,7 +3474,7 @@
 
     # if share-safe is enabled, let's create the new repository with the new
     # requirement
-    if ui.configbool(b'format', b'exp-share-safe'):
+    if ui.configbool(b'format', b'use-share-safe'):
         requirements.add(requirementsmod.SHARESAFE_REQUIREMENT)
 
     return requirements
@@ -3513,7 +3513,7 @@
         if requirementsmod.SHARESAFE_REQUIREMENT in requirements:
             ui.warn(
                 _(
-                    b"ignoring enabled 'format.exp-share-safe' config because "
+                    b"ignoring enabled 'format.use-share-safe' config because "
                     b"it is incompatible with disabled 'format.usestore'"
                     b" config\n"
                 )