# HG changeset patch # User Matt Harbison # Date 2021-01-22 04:24:58 # Node ID 085294a8c0e0b05637f2b0d8dd19641cd7114d75 # Parent e30ef4a36e1dd391743b5ec7197e70e8ac79303d share-safe: fix an abort message that references the experimental requirement Differential Revision: https://phab.mercurial-scm.org/D9851 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -600,9 +600,7 @@ def makelocalrepository(baseui, path, in ) 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 @@ Make sure existing shares still works $ 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]