# HG changeset patch # User Matt Harbison # Date 2021-03-11 22:12:08 # Node ID 26d1ddc3f3987636fa3f3ba4508c17e7822485b9 # Parent 799973a44c82e428b67ed8621878c41d9400fa3d changegroup: convert a warning message to bytes Differential Revision: https://phab.mercurial-scm.org/D10171 diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -797,7 +797,7 @@ def deltagroup( 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