##// END OF EJS Templates
changegroup: remove one special case from lookupmflinknode...
Augie Fackler -
r27239:65c47779 default
parent child Browse files
Show More
@@ -656,6 +656,9 b' class cg1packer(object):'
656 656 # Callback for the manifest, used to collect linkrevs for filelog
657 657 # revisions.
658 658 # Returns the linkrev node (collected in lookupcl).
659 if fastpathlinkrev:
660 lookupmflinknode = mfs.__getitem__
661 else:
659 662 def lookupmflinknode(x):
660 663 """Callback for looking up the linknode for manifests.
661 664
@@ -664,13 +667,12 b' class cg1packer(object):'
664 667 SIDE EFFECT:
665 668
666 669 fclnodes gets populated with the list of relevant
667 file nodes if we're not using fastpathlinkrev.
670 file nodes.
668 671
669 672 Note that this means you can't trust fclnodes until
670 673 after manifests have been sent to the client.
671 674 """
672 675 clnode = mfs[x]
673 if not fastpathlinkrev:
674 676 mdata = ml.readfast(x)
675 677 for f in mfchangedfiles[x]:
676 678 try:
General Comments 0
You need to be logged in to leave comments. Login now