Skip to content
Snippets Groups Projects
Commit d768ca42 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

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
parent c7308b3b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment