Mercurial > public > mercurial-scm > hg-stable
diff mercurial/match.py @ 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 | f0b6fbea00cf |
children | 67dc32d4e790 |
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):