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
--- 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)