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