Show More
@@ -67,12 +67,12 b' class plainformatter(baseformatter):' | |||||
67 | class debugformatter(baseformatter): |
|
67 | class debugformatter(baseformatter): | |
68 | def __init__(self, ui, topic, opts): |
|
68 | def __init__(self, ui, topic, opts): | |
69 | baseformatter.__init__(self, ui, topic, opts) |
|
69 | baseformatter.__init__(self, ui, topic, opts) | |
70 |
self._ui.write("%s = |
|
70 | self._ui.write("%s = [\n" % self._topic) | |
71 | def _showitem(self): |
|
71 | def _showitem(self): | |
72 | self._ui.write(" " + repr(self._item) + ",\n") |
|
72 | self._ui.write(" " + repr(self._item) + ",\n") | |
73 | def end(self): |
|
73 | def end(self): | |
74 | baseformatter.end(self) |
|
74 | baseformatter.end(self) | |
75 |
self._ui.write(" |
|
75 | self._ui.write("]\n") | |
76 |
|
76 | |||
77 | def formatter(ui, topic, opts): |
|
77 | def formatter(ui, topic, opts): | |
78 | if ui.configbool('ui', 'formatdebug'): |
|
78 | if ui.configbool('ui', 'formatdebug'): |
@@ -350,6 +350,11 b' warning message about such pattern.' | |||||
350 | $ hg status -A --rev 1 1 |
|
350 | $ hg status -A --rev 1 1 | |
351 | R 1/2/3/4/5/b.txt |
|
351 | R 1/2/3/4/5/b.txt | |
352 |
|
352 | |||
|
353 | $ hg status --config ui.formatdebug=True --rev 1 1 | |||
|
354 | status = [ | |||
|
355 | {*'path': '1/2/3/4/5/b.txt'*}, (glob) | |||
|
356 | ] | |||
|
357 | ||||
353 | #if windows |
|
358 | #if windows | |
354 | $ hg --config ui.slash=false status -A --rev 1 1 |
|
359 | $ hg --config ui.slash=false status -A --rev 1 1 | |
355 | R 1\2\3\4\5\b.txt |
|
360 | R 1\2\3\4\5\b.txt |
General Comments 0
You need to be logged in to leave comments.
Login now