# HG changeset patch # User Gregory Szorc # Date 1522267288 25200 # Node ID 5ef2da00e93502478f132c9e2c5e2050c7e3f38b # Parent 97eedbd5a56cf7d98b479604e16dc0a749356ffa wireproto: implement custom __repr__ for frame This version won't print the full payload (which could be large). It also prints human friendly values for types and flags. Differential Revision: https://phab.mercurial-scm.org/D2985 diff -r 97eedbd5a56c -r 5ef2da00e935 mercurial/wireprotoframing.py --- a/mercurial/wireprotoframing.py Wed Mar 28 12:44:35 2018 -0700 +++ b/mercurial/wireprotoframing.py Wed Mar 28 13:01:28 2018 -0700 @@ -106,6 +106,15 @@ ARGUMENT_RECORD_HEADER = struct.Struct(r'