comparison mercurial/changegroup.py @ 44306:a0ec05d93c8e

cleanup: re-run black on the codebase Looks like a few patches have landed without having been blackened. I strongly suspect I should write a patch for baymax that blackens things on the way in... # skip-blame automatic formatting Differential Revision: https://phab.mercurial-scm.org/D8104
author Augie Fackler <augie@google.com>
date Mon, 10 Feb 2020 17:31:05 -0500
parents 6d2b5c4efdae
children 9d2b2df2c2ba
comparison
equal deleted inserted replaced
44305:d8d4fa9a7f18 44306:a0ec05d93c8e
1147 # Returns the linkrev node (collected in lookupcl). 1147 # Returns the linkrev node (collected in lookupcl).
1148 def makelookupmflinknode(tree, nodes): 1148 def makelookupmflinknode(tree, nodes):
1149 if fastpathlinkrev: 1149 if fastpathlinkrev:
1150 assert not tree 1150 assert not tree
1151 return ( 1151 return (
1152 manifests.__getitem__ # pytype: disable=unsupported-operands 1152 manifests.__getitem__
1153 ) 1153 ) # pytype: disable=unsupported-operands
1154 1154
1155 def lookupmflinknode(x): 1155 def lookupmflinknode(x):
1156 """Callback for looking up the linknode for manifests. 1156 """Callback for looking up the linknode for manifests.
1157 1157
1158 Returns the linkrev node for the specified manifest. 1158 Returns the linkrev node for the specified manifest.