Mercurial > hg-stable
changeset 38061:2f406142d7b4
py3: use pycompat.bytestr() on bytes before %r-ing it
Differential Revision: https://phab.mercurial-scm.org/D3567
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 16 May 2018 07:58:02 +0530 |
parents | a9ffb4a577d0 |
children | 9d44c71bd892 |
files | mercurial/match.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/match.py Thu Feb 15 17:15:21 2018 +0530 +++ b/mercurial/match.py Wed May 16 07:58:02 2018 +0530 @@ -404,7 +404,7 @@ @encoding.strmethod def __repr__(self): - return ('<patternmatcher patterns=%r>' % self._pats) + return ('<patternmatcher patterns=%r>' % pycompat.bytestr(self._pats)) class includematcher(basematcher):