changeset 41150 | b05eb98a6b67 |
parent 41148 | 8eaf693b1409 |
child 41675 | ddbebce94665 |
--- a/hgext/sparse.py Mon Dec 24 15:57:54 2018 +0300 +++ b/hgext/sparse.py Mon Dec 24 16:04:52 2018 +0300 @@ -210,7 +210,7 @@ def _rebuild(orig, self, parent, allfiles, changedfiles=None): matcher = self._sparsematcher if not matcher.always(): - allfiles = allfiles.matches(matcher) + allfiles = [f for f in allfiles if matcher(f)] if changedfiles: changedfiles = [f for f in changedfiles if matcher(f)]