Patchwork D10171: changegroup: convert a warning message to bytes

login
register
mail settings
Submitter phabricator
Date March 12, 2021, 6:08 p.m.
Message ID <differential-rev-PHID-DREV-cgndhmxflhvymbl6ndeu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48486/
State Superseded
Headers show

Comments

phabricator - March 12, 2021, 6:08 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D10171

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -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