D4923: wireprotov2: handle noop action

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Oct 10 10:58:00 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGcfeba1aafb9d: wireprotov2: handle noop action (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4923?vs=11762&id=11787

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: durin42, mercurial-devel


More information about the Mercurial-devel mailing list