From patchwork Sat May 19 02:37:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3585: context: fix %-formatting on Python 3 From: phabricator X-Patchwork-Id: 31674 Message-Id: <87fbd21fc77e95c17efcceadebbd78e4@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sat, 19 May 2018 02:37:44 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGc0f8fa74d8c2: context: fix %-formatting on Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3585?vs=8747&id=8757 REVISION DETAIL https://phab.mercurial-scm.org/D3585 AFFECTED FILES mercurial/context.py CHANGE DETAILS To: durin42, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -432,7 +432,7 @@ # lookup failed except (error.FilteredIndexError, error.FilteredLookupError): raise error.FilteredRepoLookupError(_("filtered revision '%s'") - % changeid) + % pycompat.bytestr(changeid)) except error.FilteredRepoLookupError: raise except IndexError: