mercurial/match.py
changeset 40345 d30a19d10441
parent 40242 19ed212de2d1
child 40684 e6c9ef5e11a0
child 41022 481249481392
--- 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)