From patchwork Fri Mar 12 18:08:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D10171: changegroup: convert a warning message to bytes From: phabricator X-Patchwork-Id: 48486 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 12 Mar 2021 18:08:50 +0000 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 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