changeset 46347:085294a8c0e0 stable

share-safe: fix an abort message that references the experimental requirement Differential Revision: https://phab.mercurial-scm.org/D9851
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 21 Jan 2021 23:24:58 -0500
parents e30ef4a36e1d
children e78dea142968
files mercurial/localrepo.py tests/test-share-safe.t
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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]