changeset 46381:25392c48da8a stable

localrepo: fix a UI string to be bytes Flagged by pytype. Differential Revision: https://phab.mercurial-scm.org/D10130
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 08 Mar 2021 16:54:33 -0500
parents 7a29d9002250
children d5d9177c0045
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 (