# HG changeset patch # User Matt Harbison # Date 2021-03-08 21:54:33 # Node ID 25392c48da8aae4d2151c8925f053fa99364a3e8 # Parent 7a29d9002250f7c735e6826fae8ad1b4efbe868b localrepo: fix a UI string to be bytes Flagged by pytype. Differential Revision: https://phab.mercurial-scm.org/D10130 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -568,7 +568,7 @@ def makelocalrepository(baseui, path, in # 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 (