Mercurial > hg
changeset 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 | 2c5835b4246b |
children | 943248e47864 |
files | mercurial/match.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)