# HG changeset patch # User Matt Harbison # Date 1639355771 18000 # Node ID cb477edeca799f54b1f9a5ac39437202ce331755 # Parent 6e4999cb085e5597e1dd19cda42b1b21664876cf upgrade: byteify a few error messages These were flagged by pytype (which is currently disabled on this file due to another failure). Differential Revision: https://phab.mercurial-scm.org/D11905 diff -r 6e4999cb085e -r cb477edeca79 mercurial/upgrade.py --- a/mercurial/upgrade.py Mon Dec 06 10:08:04 2021 +0100 +++ b/mercurial/upgrade.py Sun Dec 12 19:36:11 2021 -0500 @@ -278,7 +278,7 @@ ui.warn(_(b'repository upgraded to use share-safe mode\n')) except error.LockError as e: hint = _( - "see `hg help config.format.use-share-safe` for more information" + b"see `hg help config.format.use-share-safe` for more information" ) if mismatch_config == b'upgrade-abort': raise error.Abort( @@ -335,7 +335,7 @@ ui.warn(_(b'repository downgraded to not use share-safe mode\n')) except error.LockError as e: hint = _( - "see `hg help config.format.use-share-safe` for more information" + b"see `hg help config.format.use-share-safe` for more information" ) # If upgrade-abort is set, abort when upgrade fails, else let the # process continue as `upgrade-allow` is set