##// END OF EJS Templates
changegroup: document manifest linkrev callback some more...
Augie Fackler -
r27219:beb60a89 default
parent child Browse files
Show More
@@ -653,6 +653,18 b' class cg1packer(object):'
653 # revisions.
653 # revisions.
654 # Returns the linkrev node (collected in lookupcl).
654 # Returns the linkrev node (collected in lookupcl).
655 def lookupmflinknode(x):
655 def lookupmflinknode(x):
656 """Callback for looking up the linknode for manifests.
657
658 Returns the linkrev node for the specified manifest.
659
660 SIDE EFFECT:
661
662 fclnodes gets populated with the list of relevant
663 file nodes if we're not using fastpathlinkrev.
664
665 Note that this means you can't trust fclnodes until
666 after manifests have been sent to the client.
667 """
656 clnode = mfs[x]
668 clnode = mfs[x]
657 if not fastpathlinkrev:
669 if not fastpathlinkrev:
658 mdata = ml.readfast(x)
670 mdata = ml.readfast(x)
General Comments 0
You need to be logged in to leave comments. Login now