changegroup: convert a warning message to bytes stable
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 11 Mar 2021 17:12:08 -0500
branchstable
changeset 46686 26d1ddc3f398
parent 46685 799973a44c82
child 46687 83ffc49f7e48
changegroup: convert a warning message to bytes Differential Revision: https://phab.mercurial-scm.org/D10171
mercurial/changegroup.py
--- 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