wireprotov2: handle noop action
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 05 Oct 2018 09:23:06 -0700
changeset 40134 cfeba1aafb9d
parent 40133 762ef19a07e3
child 40135 966b5f7fd30b
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
mercurial/wireprotov2peer.py
--- 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(