changeset 46686:26d1ddc3f398 stable

changegroup: convert a warning message to bytes Differential Revision: https://phab.mercurial-scm.org/D10171
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Mar 2021 17:12:08 -0500
parents 799973a44c82
children 83ffc49f7e48
files mercurial/changegroup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Thu Mar 11 17:10:52 2021 -0500
+++ b/mercurial/changegroup.py	Thu Mar 11 17:12:08 2021 -0500
@@ -797,7 +797,7 @@
 
     configtarget = repo.ui.config(b'devel', b'bundle.delta')
     if configtarget not in (b'', b'p1', b'full'):
-        msg = _("""config "devel.bundle.delta" as unknown value: %s""")
+        msg = _(b"""config "devel.bundle.delta" as unknown value: %s""")
         repo.ui.warn(msg % configtarget)
 
     deltamode = repository.CG_DELTAMODE_STD