Patchwork D6531: remotefilelog: remove obsolete filtering of treemanifest directories

login
register
mail settings
Submitter phabricator
Date June 14, 2019, 11:15 p.m.
Message ID <dd24f95a506f4b3e215ff6748d51c5e3@localhost.localdomain>
Download mbox | patch
Permalink /patch/40520/
State Not Applicable
Headers show

Comments

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




To: martinvonz, #hg-reviewers, pulkit
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)