# HG changeset patch # User Martin von Zweigbergk # Date 1560545406 25200 # Node ID d768ca4272498d5c39dbd423bced66f0292ea936 # Parent c7308b3bc1899d9f01f85786ca677c1a5606ff15 remotefilelog: remove obsolete filtering of treemanifest directories I think this has been obsolete since 2cf18f46a1ce (narrow: only walk files within narrowspec also for committed revisions, 2018-09-28). Differential Revision: https://phab.mercurial-scm.org/D6531 diff -r c7308b3bc189 -r d768ca427249 hgext/remotefilelog/__init__.py --- a/hgext/remotefilelog/__init__.py Fri Jun 14 18:27:50 2019 +0300 +++ b/hgext/remotefilelog/__init__.py Fri Jun 14 13:50:06 2019 -0700 @@ -990,9 +990,6 @@ mf = ctx.manifest() sparsematch = repo.maybesparsematch(ctx.rev()) for path in ctx.walk(match): - if path.endswith('/'): - # Tree manifest that's being excluded as part of narrow - continue if (not sparsematch or sparsematch(path)) and path in mf: allfiles.append((path, hex(mf[path]))) repo.fileservice.prefetch(allfiles)