Mercurial > public > mercurial-scm > hg-stable
diff mercurial/match.py @ 40345:d30a19d10441
match: fix up a repr to not crash on Python 3
Differential Revision: https://phab.mercurial-scm.org/D5120
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 14 Oct 2018 11:16:22 -0400 |
parents | 19ed212de2d1 |
children | 481249481392 e6c9ef5e11a0 |
line wrap: on
line diff
--- a/mercurial/match.py Fri Oct 05 11:07:34 2018 -0700 +++ b/mercurial/match.py Sun Oct 14 11:16:22 2018 -0400 @@ -1173,7 +1173,7 @@ else: dir = '.' return dir in dirs - regex = b'rootfilesin: %s' % sorted(dirs) + regex = b'rootfilesin: %s' % stringutil.pprint(list(sorted(dirs))) matchfuncs.append(mf) else: regex, mf = _buildregexmatch(kindpats, globsuffix)