localrepo: byteify the requirements.DIRSTATE_TRACKED_HINT_Vx warning message
Flagged by PyCharm.
--- 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: