diff -r cc4586749c8c -r 4a81d82474e9 hgext/lfs/wrapper.py --- a/hgext/lfs/wrapper.py Sat Oct 20 20:25:56 2018 +0900 +++ b/hgext/lfs/wrapper.py Sun Oct 21 22:26:00 2018 -0400 @@ -374,7 +374,12 @@ stored for the path is an empty dict. """ result = {} + m = ctx.repo().narrowmatch() + + # TODO: consider manifest.fastread() instead for f in ctx.files(): + if not m(f): + continue p = pointerfromctx(ctx, f, removed=removed) if p is not None: result[f] = p