D4923: wireprotov2: handle noop action

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Tue Oct 9 00:30:59 UTC 2018


indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This action can be returned from the client reactor. We should
  handle it.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4923

AFFECTED FILES
  mercurial/wireprotov2peer.py

CHANGE DETAILS

diff --git a/mercurial/wireprotov2peer.py b/mercurial/wireprotov2peer.py
--- a/mercurial/wireprotov2peer.py
+++ b/mercurial/wireprotov2peer.py
@@ -325,6 +325,8 @@
                 raise e
 
             return
+        elif action == 'noop':
+            return
 
         if frame.requestid not in self._requests:
             raise error.ProgrammingError(



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list