upgrade: byteify an i18n message
Differential Revision: https://phab.mercurial-scm.org/D11207
--- a/mercurial/upgrade_utils/engine.py Wed Jul 21 15:34:35 2021 -0400
+++ b/mercurial/upgrade_utils/engine.py Wed Jul 21 15:50:17 2021 -0400
@@ -66,7 +66,7 @@
# drop the extension and the `data/` prefix
path_part = path.rsplit(b'.', 1)[0].split(b'/', 1)
if len(path_part) < 2:
- msg = _('cannot recognize revlog from filename: %s')
+ msg = _(b'cannot recognize revlog from filename: %s')
msg %= path
raise error.Abort(msg)
path = path_part[1]