mercurial/match.py
changeset 40345 d30a19d10441
parent 40242 19ed212de2d1
child 40478 481249481392
child 40723 e6c9ef5e11a0
equal deleted inserted replaced
40344:2c5835b4246b 40345:d30a19d10441
  1171                 if i >= 0:
  1171                 if i >= 0:
  1172                     dir = f[:i]
  1172                     dir = f[:i]
  1173                 else:
  1173                 else:
  1174                     dir = '.'
  1174                     dir = '.'
  1175                 return dir in dirs
  1175                 return dir in dirs
  1176             regex = b'rootfilesin: %s' % sorted(dirs)
  1176             regex = b'rootfilesin: %s' % stringutil.pprint(list(sorted(dirs)))
  1177             matchfuncs.append(mf)
  1177             matchfuncs.append(mf)
  1178         else:
  1178         else:
  1179             regex, mf = _buildregexmatch(kindpats, globsuffix)
  1179             regex, mf = _buildregexmatch(kindpats, globsuffix)
  1180             matchfuncs.append(mf)
  1180             matchfuncs.append(mf)
  1181 
  1181