Show More
@@ -374,7 +374,12 b' def pointersfromctx(ctx, removed=False):' | |||||
374 | stored for the path is an empty dict. |
|
374 | stored for the path is an empty dict. | |
375 | """ |
|
375 | """ | |
376 | result = {} |
|
376 | result = {} | |
|
377 | m = ctx.repo().narrowmatch() | |||
|
378 | ||||
|
379 | # TODO: consider manifest.fastread() instead | |||
377 | for f in ctx.files(): |
|
380 | for f in ctx.files(): | |
|
381 | if not m(f): | |||
|
382 | continue | |||
378 | p = pointerfromctx(ctx, f, removed=removed) |
|
383 | p = pointerfromctx(ctx, f, removed=removed) | |
379 | if p is not None: |
|
384 | if p is not None: | |
380 | result[f] = p |
|
385 | result[f] = p |
General Comments 0
You need to be logged in to leave comments.
Login now