Patchwork D6531: remotefilelog: remove obsolete filtering of treemanifest directories

login
register
mail settings
Submitter phabricator
Date June 14, 2019, 9:27 p.m.
Message ID <differential-rev-PHID-DREV-kc43y4pxfmm5v7nmn6kc-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/40518/
State Superseded
Headers show

Comments

phabricator - June 14, 2019, 9:27 p.m.
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




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

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)