mercurial/logcmdutil.py
changeset 45458 4532e7ebde4d
parent 45320 4aa484efc926
parent 45416 4ebc5f325bed
child 45471 a03fde1077ce
equal deleted inserted replaced
45457:d2b5a7659fff 45458:4532e7ebde4d
   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