share-safe: fix an abort message that references the experimental requirement
Differential Revision: https://phab.mercurial-scm.org/D9851
--- a/mercurial/localrepo.py Thu Jan 21 23:22:12 2021 -0500
+++ b/mercurial/localrepo.py Thu Jan 21 23:24:58 2021 -0500
@@ -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:
--- a/tests/test-share-safe.t Thu Jan 21 23:22:12 2021 -0500
+++ b/tests/test-share-safe.t Thu Jan 21 23:24:58 2021 -0500
@@ -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]