changeset 47764:6b9ad3a0c348 stable

upgrade: byteify an i18n message Differential Revision: https://phab.mercurial-scm.org/D11207
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 21 Jul 2021 15:50:17 -0400
parents 76dccbbe73fd
children 184d83ef2e59
files mercurial/upgrade_utils/engine.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]