diff 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
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(