changeset 42488:d768ca427249

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
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 14 Jun 2019 13:50:06 -0700
parents c7308b3bc189
children 307f67d4aee3
files hgext/remotefilelog/__init__.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)