Show More
@@ -477,8 +477,6 b' class queue(object):' | |||
|
477 | 477 | def printdiff(self, repo, diffopts, node1, node2=None, files=None, |
|
478 | 478 | fp=None, changes=None, opts={}): |
|
479 | 479 | stat = opts.get('stat') |
|
480 | if stat: | |
|
481 | opts['unified'] = '0' | |
|
482 | 480 | |
|
483 | 481 | m = cmdutil.match(repo, files, opts) |
|
484 | 482 | if fp is None: |
@@ -487,6 +485,7 b' class queue(object):' | |||
|
487 | 485 | def write(s, **kw): |
|
488 | 486 | fp.write(s) |
|
489 | 487 | if stat: |
|
488 | diffopts.context = 0 | |
|
490 | 489 | width = self.ui.interactive() and util.termwidth() or 80 |
|
491 | 490 | chunks = patch.diff(repo, node1, node2, m, changes, diffopts) |
|
492 | 491 | for chunk, label in patch.diffstatui(util.iterlines(chunks), |
General Comments 0
You need to be logged in to leave comments.
Login now