# HG changeset patch # User Matt Harbison # Date 1667422006 14400 # Node ID bc2ecf08ae042d51805eeeef0d60eaa1c8181dbf # Parent 8076298b795a52a740de6c3ff9ca9af65653975a localrepo: byteify the requirements.DIRSTATE_TRACKED_HINT_Vx warning message Flagged by PyCharm. diff -r 8076298b795a -r bc2ecf08ae04 mercurial/localrepo.py --- a/mercurial/localrepo.py Mon Oct 31 16:15:54 2022 +0000 +++ b/mercurial/localrepo.py Wed Nov 02 16:46:46 2022 -0400 @@ -3721,8 +3721,10 @@ if ui.configbool(b'format', b'use-dirstate-tracked-hint'): version = ui.configint(b'format', b'use-dirstate-tracked-hint.version') - msg = _("ignoring unknown tracked key version: %d\n") - hint = _("see `hg help config.format.use-dirstate-tracked-hint-version") + msg = _(b"ignoring unknown tracked key version: %d\n") + hint = _( + b"see `hg help config.format.use-dirstate-tracked-hint-version" + ) if version != 1: ui.warn(msg % version, hint=hint) else: