equal
deleted
inserted
replaced
751 # revision, stored in "fcache". "fcache" is populated as a side effect |
751 # revision, stored in "fcache". "fcache" is populated as a side effect |
752 # of the graph traversal. |
752 # of the graph traversal. |
753 fcache = {} |
753 fcache = {} |
754 |
754 |
755 def filematcher(ctx): |
755 def filematcher(ctx): |
756 return scmutil.matchfiles(repo, fcache.get(ctx.rev(), [])) |
756 return scmutil.matchfiles(repo, fcache.get(scmutil.intrev(ctx), [])) |
757 |
757 |
758 def revgen(): |
758 def revgen(): |
759 for rev, cs in dagop.filectxancestors(fctxs, followfirst=followfirst): |
759 for rev, cs in dagop.filectxancestors(fctxs, followfirst=followfirst): |
760 fcache[rev] = [c.path() for c in cs] |
760 fcache[rev] = [c.path() for c in cs] |
761 yield rev |
761 yield rev |