Show More
@@ -377,10 +377,9 b' class changesetprinter(object):' | |||||
377 | self._exthook(ctx) |
|
377 | self._exthook(ctx) | |
378 |
|
378 | |||
379 | if self.ui.debugflag: |
|
379 | if self.ui.debugflag: | |
380 | files = ctx.p1().status(ctx) |
|
|||
381 | for key, value in zip( |
|
380 | for key, value in zip( | |
382 | [b'files', b'files+', b'files-'], |
|
381 | [b'files', b'files+', b'files-'], | |
383 |
[ |
|
382 | [ctx.filesmodified(), ctx.filesadded(), ctx.filesremoved()], | |
384 | ): |
|
383 | ): | |
385 | if value: |
|
384 | if value: | |
386 | self.ui.write( |
|
385 | self.ui.write( | |
@@ -512,11 +511,10 b' class changesetformatter(changesetprinte' | |||||
512 | or b'added' in datahint |
|
511 | or b'added' in datahint | |
513 | or b'removed' in datahint |
|
512 | or b'removed' in datahint | |
514 | ): |
|
513 | ): | |
515 | files = ctx.p1().status(ctx) |
|
|||
516 | fm.data( |
|
514 | fm.data( | |
517 |
modified=fm.formatlist( |
|
515 | modified=fm.formatlist(ctx.filesmodified(), name=b'file'), | |
518 |
added=fm.formatlist( |
|
516 | added=fm.formatlist(ctx.filesadded(), name=b'file'), | |
519 |
removed=fm.formatlist( |
|
517 | removed=fm.formatlist(ctx.filesremoved(), name=b'file'), | |
520 | ) |
|
518 | ) | |
521 |
|
519 | |||
522 | verbose = not self.ui.debugflag and self.ui.verbose |
|
520 | verbose = not self.ui.debugflag and self.ui.verbose |
@@ -25,11 +25,9 b' https://bz.mercurial-scm.org/show_bug.cg' | |||||
25 |
|
25 | |||
26 |
|
26 | |||
27 | $ hg log -r . --debug | grep files |
|
27 | $ hg log -r . --debug | grep files | |
28 | files+: b (known-bad-output !) |
|
28 | [1] | |
29 | [1] (missing-correct-output !) |
|
|||
30 | $ hg log -r . --debug -T json | egrep '(added|removed|modified)' |
|
29 | $ hg log -r . --debug -T json | egrep '(added|removed|modified)' | |
31 | "added": ["b"], (known-bad-output !) |
|
30 | "added": [], | |
32 | "added": [], (missing-correct-output !) |
|
|||
33 | "modified": [], |
|
31 | "modified": [], | |
34 | "removed": [], |
|
32 | "removed": [], | |
35 | $ hg log -r . --debug -T xml | grep path |
|
33 | $ hg log -r . --debug -T xml | grep path |
@@ -407,7 +407,6 b' test that phase are displayed in log at ' | |||||
407 | manifest: 7:5e724ffacba267b2ab726c91fc8b650710deaaa8 |
|
407 | manifest: 7:5e724ffacba267b2ab726c91fc8b650710deaaa8 | |
408 | user: test |
|
408 | user: test | |
409 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
409 | date: Thu Jan 01 00:00:00 1970 +0000 | |
410 | files+: C D E |
|
|||
411 | extra: branch=default |
|
410 | extra: branch=default | |
412 | description: |
|
411 | description: | |
413 | merge B' and E |
|
412 | merge B' and E |
General Comments 0
You need to be logged in to leave comments.
Login now