D6531: remotefilelog: remove obsolete filtering of treemanifest directories
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Jun 14 19:15:55 EDT 2019
Closed by commit rHGd768ca427249: remotefilelog: remove obsolete filtering of treemanifest directories (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6531?vs=15519&id=15521
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6531/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6531
AFFECTED FILES
hgext/remotefilelog/__init__.py
CHANGE DETAILS
diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -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)
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list