localrepo: fix a UI string to be bytes stable
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 08 Mar 2021 16:54:33 -0500
branchstable
changeset 46571 25392c48da8a
parent 46570 7a29d9002250
child 46572 d5d9177c0045
localrepo: fix a UI string to be bytes Flagged by pytype. Differential Revision: https://phab.mercurial-scm.org/D10130
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Mar 08 12:28:53 2021 -0500
+++ b/mercurial/localrepo.py	Mon Mar 08 16:54:33 2021 -0500
@@ -568,7 +568,7 @@
     # repository was shared the old way. We check the share source .hg/requires
     # for SHARESAFE_REQUIREMENT to detect whether the current repository needs
     # to be reshared
-    hint = _("see `hg help config.format.use-share-safe` for more information")
+    hint = _(b"see `hg help config.format.use-share-safe` for more information")
     if requirementsmod.SHARESAFE_REQUIREMENT in requirements:
 
         if (