equal
deleted
inserted
replaced
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. |