##// END OF EJS Templates
formatter: make debug output prettier...
Yuya Nishihara -
r40313:1159031a default
parent child Browse files
Show More
@@ -324,7 +324,8 class debugformatter(baseformatter):
324 self._out = out
324 self._out = out
325 self._out.write("%s = [\n" % self._topic)
325 self._out.write("%s = [\n" % self._topic)
326 def _showitem(self):
326 def _showitem(self):
327 self._out.write(' %s,\n' % stringutil.pprint(self._item))
327 self._out.write(' %s,\n'
328 % stringutil.pprint(self._item, indent=4, level=1))
328 def end(self):
329 def end(self):
329 baseformatter.end(self)
330 baseformatter.end(self)
330 self._out.write("]\n")
331 self._out.write("]\n")
@@ -528,7 +528,10 warning message about such pattern.
528
528
529 $ hg status --config ui.formatdebug=True --rev 1 1
529 $ hg status --config ui.formatdebug=True --rev 1 1
530 status = [
530 status = [
531 {*'path': '1/2/3/4/5/b.txt'*}, (glob)
531 {
532 'path': '1/2/3/4/5/b.txt',
533 'status': 'R'
534 },
532 ]
535 ]
533
536
534 #if windows
537 #if windows
General Comments 0
You need to be logged in to leave comments. Login now