equal
deleted
inserted
replaced
356 mfs.clear() |
356 mfs.clear() |
357 needed = set(cl.rev(x) for x in clnodes) |
357 needed = set(cl.rev(x) for x in clnodes) |
358 |
358 |
359 def linknodes(filerevlog, fname): |
359 def linknodes(filerevlog, fname): |
360 if fastpathlinkrev: |
360 if fastpathlinkrev: |
361 ln, llr = filerevlog.node, filerevlog.linkrev |
361 llr = filerevlog.linkrev |
362 def genfilenodes(): |
362 def genfilenodes(): |
363 for r in filerevlog: |
363 for r in filerevlog: |
364 linkrev = llr(r) |
364 linkrev = llr(r) |
365 if linkrev in needed: |
365 if linkrev in needed: |
366 yield filerevlog.node(r), cl.node(linkrev) |
366 yield filerevlog.node(r), cl.node(linkrev) |