mercurial/wireproto.py
changeset 34726 daf12f69699f
parent 34613 5e61cd5fb0fc
child 34729 6f532c1a4af0
equal deleted inserted replaced
34725:a288712d86d5 34726:daf12f69699f
   110         # future).
   110         # future).
   111         results = []
   111         results = []
   112 
   112 
   113         for command, args, opts, finalfuture in self.calls:
   113         for command, args, opts, finalfuture in self.calls:
   114             mtd = getattr(self._remote, command)
   114             mtd = getattr(self._remote, command)
   115             batchable = mtd.batchable(mtd.im_self, *args, **opts)
   115             batchable = mtd.batchable(mtd.__self__, *args, **opts)
   116 
   116 
   117             commandargs, fremote = next(batchable)
   117             commandargs, fremote = next(batchable)
   118             assert fremote
   118             assert fremote
   119             requests.append((command, commandargs))
   119             requests.append((command, commandargs))
   120             results.append((command, finalfuture, batchable, fremote))
   120             results.append((command, finalfuture, batchable, fremote))