D10171: changegroup: convert a warning message to bytes
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Mar 12 18:08:50 UTC 2021
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
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
To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list