mercurial/localrepo.py
branchstable
changeset 46571 25392c48da8a
parent 46549 9842c00f0252
child 46572 d5d9177c0045
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