diff -r 2eb5fe13461b -r 4b0192f592cf mercurial/localrepo.py --- 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" )