share-safe: fix an abort message that references the experimental requirement stable
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 21 Jan 2021 23:24:58 -0500
branchstable
changeset 46351 085294a8c0e0
parent 46350 e30ef4a36e1d
child 46352 e78dea142968
share-safe: fix an abort message that references the experimental requirement Differential Revision: https://phab.mercurial-scm.org/D9851
mercurial/localrepo.py
tests/test-share-safe.t
--- 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]