diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -600,9 +600,7 @@ ) elif mismatch_config == b'abort': raise error.Abort( - _( - b"share source does not support exp-sharesafe requirement" - ), + _(b"share source does not support share-safe requirement"), hint=hint, ) else: diff --git a/tests/test-share-safe.t b/tests/test-share-safe.t --- a/tests/test-share-safe.t +++ b/tests/test-share-safe.t @@ -481,7 +481,7 @@ $ hg log -GT "{node}: {desc}\n" -R ../ss-share - abort: share source does not support exp-sharesafe requirement + abort: share source does not support share-safe requirement (see `hg help config.format.use-share-safe` for more information) [255]