D4399: stringutil: teach pprint() to indent

2018-08-30 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0f549da54379: stringutil: teach pprint() to indent (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4399?vs=10600&id=10681 R

D4399: stringutil: teach pprint() to indent

2018-08-30 Thread martinvonz (Martin von Zweigbergk)
martinvonz accepted this revision. martinvonz added a comment. This revision is now accepted and ready to land. > Again, I'm not crazy about the verbosity of the code and there is > room to consolidate logic for "print a collection." But this isn't > the most complicated code in the world

D4399: stringutil: teach pprint() to indent

2018-08-27 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will make data structure dumping in various places a bit easier to read and diff. Since I wanted this for `hg debugwireproto` output, I added indentation t