D6531: remotefilelog: remove obsolete filtering of treemanifest directories
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Jun 14 21:27:20 UTC 2019
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I think this has been obsolete since 2cf18f46a1ce <https://phab.mercurial-scm.org/rHG2cf18f46a1ce0ac4bb4fe8389a23872b47e88847> (narrow: only walk
files within narrowspec also for committed revisions, 2018-09-28).
REPOSITORY
rHG Mercurial
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list