mercurial/logcmdutil.py
branchstable
changeset 45416 4ebc5f325bed
parent 44823 3b7aabd02e11
child 45458 4532e7ebde4d
equal deleted inserted replaced
45415:81b4e7c866ec 45416:4ebc5f325bed
   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