Patchwork D9851: share-safe: fix an abort message that references the experimental requirement

login
register
mail settings
Submitter phabricator
Date Jan. 22, 2021, 4:27 a.m.
Message ID <differential-rev-PHID-DREV-miu2zzbnuquzz5tgo6vi-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48162/
State Superseded
Headers show

Comments

phabricator - Jan. 22, 2021, 4:27 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D9851

AFFECTED FILES
  mercurial/localrepo.py
  tests/test-share-safe.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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]
 
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: