D6113: py3: convert to/from bytes/unicode for json.(dump|load)s in debugcallconduit

Yuya Nishihara yuya at tcha.org
Fri Mar 15 22:40:25 EDT 2019


>   Ah,  we can indeed (thanks for the pointer), with one caveat:  the formatting.
>   The existing output is nicely formatted for human readability, with each entry on a new line and indented appropriately.  `templatefilters.json()` isn't capable of that.
>   Do we mind losing that?  It's also tested for in test-phabricator.t. Compare before:

Good point. Let's not change the formatting as it is a debug command and
we'll probably want to read the output.


More information about the Mercurial-devel mailing list