comparison mercurial/localrepo.py @ 46571: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 9842c00f0252
children d5d9177c0045
comparison
equal deleted inserted replaced
46570:7a29d9002250 46571:25392c48da8a
566 # 566 #
567 # However, if SHARESAFE_REQUIREMENT is not present, it means that the 567 # However, if SHARESAFE_REQUIREMENT is not present, it means that the
568 # repository was shared the old way. We check the share source .hg/requires 568 # repository was shared the old way. We check the share source .hg/requires
569 # for SHARESAFE_REQUIREMENT to detect whether the current repository needs 569 # for SHARESAFE_REQUIREMENT to detect whether the current repository needs
570 # to be reshared 570 # to be reshared
571 hint = _("see `hg help config.format.use-share-safe` for more information") 571 hint = _(b"see `hg help config.format.use-share-safe` for more information")
572 if requirementsmod.SHARESAFE_REQUIREMENT in requirements: 572 if requirementsmod.SHARESAFE_REQUIREMENT in requirements:
573 573
574 if ( 574 if (
575 shared 575 shared
576 and requirementsmod.SHARESAFE_REQUIREMENT 576 and requirementsmod.SHARESAFE_REQUIREMENT