This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: implement custom __repr__ for frame
ClosedPublic

Authored by indygreg on Mar 30 2018, 5:16 PM.

Details

Summary

This version won't print the full payload (which could be large).

It also prints human friendly values for types and flags.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 30 2018, 5:16 PM
durin42 accepted this revision.Apr 3 2018, 11:50 AM
This revision is now accepted and ready to land.Apr 3 2018, 11:50 AM
This revision was automatically updated to reflect the committed changes.