mercurial/changegroup.py
branchstable
changeset 46415 70f8c64812db
parent 46393 26d1ddc3f398
child 46796 e2f7b2695ba1
equal deleted inserted replaced
46414:52528570312e 46415:70f8c64812db
  1160         # revisions.
  1160         # revisions.
  1161         # Returns the linkrev node (collected in lookupcl).
  1161         # Returns the linkrev node (collected in lookupcl).
  1162         def makelookupmflinknode(tree, nodes):
  1162         def makelookupmflinknode(tree, nodes):
  1163             if fastpathlinkrev:
  1163             if fastpathlinkrev:
  1164                 assert not tree
  1164                 assert not tree
  1165                 return (
  1165 
  1166                     manifests.__getitem__
  1166                 # pytype: disable=unsupported-operands
  1167                 )  # pytype: disable=unsupported-operands
  1167                 return manifests.__getitem__
       
  1168                 # pytype: enable=unsupported-operands
  1168 
  1169 
  1169             def lookupmflinknode(x):
  1170             def lookupmflinknode(x):
  1170                 """Callback for looking up the linknode for manifests.
  1171                 """Callback for looking up the linknode for manifests.
  1171 
  1172 
  1172                 Returns the linkrev node for the specified manifest.
  1173                 Returns the linkrev node for the specified manifest.