##// END OF EJS Templates
changegroup: rename 'needed' to 'clrevs' to match 'clnodes'
Martin von Zweigbergk -
r24898:0bbf0615 default
parent child Browse files
Show More
@@ -417,7 +417,7 b' class cg1packer(object):'
417 progress(msgbundling, None)
417 progress(msgbundling, None)
418
418
419 mfs.clear()
419 mfs.clear()
420 needed = set(cl.rev(x) for x in clnodes)
420 clrevs = set(cl.rev(x) for x in clnodes)
421
421
422 def linknodes(filerevlog, fname):
422 def linknodes(filerevlog, fname):
423 if fastpathlinkrev and not reorder:
423 if fastpathlinkrev and not reorder:
@@ -425,7 +425,7 b' class cg1packer(object):'
425 def genfilenodes():
425 def genfilenodes():
426 for r in filerevlog:
426 for r in filerevlog:
427 linkrev = llr(r)
427 linkrev = llr(r)
428 if linkrev in needed:
428 if linkrev in clrevs:
429 yield filerevlog.node(r), cl.node(linkrev)
429 yield filerevlog.node(r), cl.node(linkrev)
430 return dict(genfilenodes())
430 return dict(genfilenodes())
431 return fnodes.get(fname, {})
431 return fnodes.get(fname, {})
General Comments 0
You need to be logged in to leave comments. Login now