mercurial/match.py
changeset 38019 2f406142d7b4
parent 37084 f0b6fbea00cf
child 38475 67dc32d4e790
--- 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):