changeset 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 762ef19a07e3
children 966b5f7fd30b
files mercurial/wireprotov2peer.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/wireprotov2peer.py	Mon Oct 08 17:00:16 2018 -0700
+++ b/mercurial/wireprotov2peer.py	Fri Oct 05 09:23:06 2018 -0700
@@ -325,6 +325,8 @@
                 raise e
 
             return
+        elif action == 'noop':
+            return
 
         if frame.requestid not in self._requests:
             raise error.ProgrammingError(