diff --git a/mercurial/formatter.py b/mercurial/formatter.py --- a/mercurial/formatter.py +++ b/mercurial/formatter.py @@ -324,7 +324,8 @@ class debugformatter(baseformatter): self._out = out self._out.write("%s = [\n" % self._topic) def _showitem(self): - self._out.write(' %s,\n' % stringutil.pprint(self._item)) + self._out.write(' %s,\n' + % stringutil.pprint(self._item, indent=4, level=1)) def end(self): baseformatter.end(self) self._out.write("]\n") diff --git a/tests/test-status.t b/tests/test-status.t --- a/tests/test-status.t +++ b/tests/test-status.t @@ -528,7 +528,10 @@ warning message about such pattern. $ hg status --config ui.formatdebug=True --rev 1 1 status = [ - {*'path': '1/2/3/4/5/b.txt'*}, (glob) + { + 'path': '1/2/3/4/5/b.txt', + 'status': 'R' + }, ] #if windows