comparison mercurial/localrepo.py @ 49585:18282cf18aa2

branching: merge stable into default
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 14 Nov 2022 10:59:09 +0100
parents 8fa3f7c3a9ad bc2ecf08ae04
children f5f113f1b011
comparison
equal deleted inserted replaced
49577:53e4f44ba0e8 49585:18282cf18aa2
3736 else: 3736 else:
3737 requirements.add(requirementsmod.SHARED_REQUIREMENT) 3737 requirements.add(requirementsmod.SHARED_REQUIREMENT)
3738 3738
3739 if ui.configbool(b'format', b'use-dirstate-tracked-hint'): 3739 if ui.configbool(b'format', b'use-dirstate-tracked-hint'):
3740 version = ui.configint(b'format', b'use-dirstate-tracked-hint.version') 3740 version = ui.configint(b'format', b'use-dirstate-tracked-hint.version')
3741 msg = _("ignoring unknown tracked key version: %d\n") 3741 msg = _(b"ignoring unknown tracked key version: %d\n")
3742 hint = _("see `hg help config.format.use-dirstate-tracked-hint-version") 3742 hint = _(
3743 b"see `hg help config.format.use-dirstate-tracked-hint-version"
3744 )
3743 if version != 1: 3745 if version != 1:
3744 ui.warn(msg % version, hint=hint) 3746 ui.warn(msg % version, hint=hint)
3745 else: 3747 else:
3746 requirements.add(requirementsmod.DIRSTATE_TRACKED_HINT_V1) 3748 requirements.add(requirementsmod.DIRSTATE_TRACKED_HINT_V1)
3747 3749