D3567: py3: use pycompat.bytestr() on bytes before %r-ing it
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed May 16 07:42:10 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2f406142d7b4: py3: use pycompat.bytestr() on bytes before %r-ing it (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3567?vs=8706&id=8712
REVISION DETAIL
https://phab.mercurial-scm.org/D3567
AFFECTED FILES
mercurial/match.py
CHANGE DETAILS
diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -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):
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list