##// 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 417 progress(msgbundling, None)
418 418
419 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 422 def linknodes(filerevlog, fname):
423 423 if fastpathlinkrev and not reorder:
@@ -425,7 +425,7 b' class cg1packer(object):'
425 425 def genfilenodes():
426 426 for r in filerevlog:
427 427 linkrev = llr(r)
428 if linkrev in needed:
428 if linkrev in clrevs:
429 429 yield filerevlog.node(r), cl.node(linkrev)
430 430 return dict(genfilenodes())
431 431 return fnodes.get(fname, {})
General Comments 0
You need to be logged in to leave comments. Login now