D3585: context: fix %-formatting on Python 3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri May 18 22:37:44 EDT 2018


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

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:



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list