From patchwork Fri Mar 30 21:16:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2985: wireproto: implement custom __repr__ for frame From: phabricator X-Patchwork-Id: 30025 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Fri, 30 Mar 2018 21:16:19 +0000 indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This version won't print the full payload (which could be large). It also prints human friendly values for types and flags. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2985 AFFECTED FILES mercurial/wireprotoframing.py CHANGE DETAILS To: indygreg, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/wireprotoframing.py b/mercurial/wireprotoframing.py --- a/mercurial/wireprotoframing.py +++ b/mercurial/wireprotoframing.py @@ -106,6 +106,15 @@ ARGUMENT_RECORD_HEADER = struct.Struct(r'