comparison mercurial/wireprotov2peer.py @ 40134:cfeba1aafb9d

wireprotov2: handle noop action This action can be returned from the client reactor. We should handle it. Differential Revision: https://phab.mercurial-scm.org/D4923
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 05 Oct 2018 09:23:06 -0700
parents 7e807b8a9e56
children ed4ebbb98ca0
comparison
equal deleted inserted replaced
40133:762ef19a07e3 40134:cfeba1aafb9d
323 del self._futures[frame.requestid] 323 del self._futures[frame.requestid]
324 else: 324 else:
325 raise e 325 raise e
326 326
327 return 327 return
328 elif action == 'noop':
329 return
328 330
329 if frame.requestid not in self._requests: 331 if frame.requestid not in self._requests:
330 raise error.ProgrammingError( 332 raise error.ProgrammingError(
331 'received frame for unknown request; this is either a bug in ' 333 'received frame for unknown request; this is either a bug in '
332 'the clientreactor not screening for this or this instance was ' 334 'the clientreactor not screening for this or this instance was '