Show More
@@ -339,8 +339,11 b' class changesetprinter(object):' | |||||
339 | self._exthook(ctx) |
|
339 | self._exthook(ctx) | |
340 |
|
340 | |||
341 | if self.ui.debugflag: |
|
341 | if self.ui.debugflag: | |
342 |
files = ctx.p1().status(ctx) |
|
342 | files = ctx.p1().status(ctx) | |
343 |
for key, value in zip( |
|
343 | for key, value in zip( | |
|
344 | [b'files', b'files+', b'files-'], | |||
|
345 | [files.modified, files.added, files.removed], | |||
|
346 | ): | |||
344 | if value: |
|
347 | if value: | |
345 | self.ui.write( |
|
348 | self.ui.write( | |
346 | columns[key] % b" ".join(value), |
|
349 | columns[key] % b" ".join(value), | |
@@ -470,9 +473,9 b' class changesetformatter(changesetprinte' | |||||
470 | ): |
|
473 | ): | |
471 | files = ctx.p1().status(ctx) |
|
474 | files = ctx.p1().status(ctx) | |
472 | fm.data( |
|
475 | fm.data( | |
473 |
modified=fm.formatlist(files |
|
476 | modified=fm.formatlist(files.modified, name=b'file'), | |
474 |
added=fm.formatlist(files |
|
477 | added=fm.formatlist(files.added, name=b'file'), | |
475 |
removed=fm.formatlist(files |
|
478 | removed=fm.formatlist(files.removed, name=b'file'), | |
476 | ) |
|
479 | ) | |
477 |
|
480 | |||
478 | verbose = not self.ui.debugflag and self.ui.verbose |
|
481 | verbose = not self.ui.debugflag and self.ui.verbose |
General Comments 0
You need to be logged in to leave comments.
Login now