changeset 10962 | 8d5f5122a732 |
parent 10960 | ca739acf1a98 |
parent 10948 | 61cd6653f846 |
child 10963 | 9e314c5e6890 |
--- a/mercurial/commands.py Fri Apr 16 23:59:43 2010 +0200 +++ b/mercurial/commands.py Mon Apr 19 17:00:02 2010 -0500 @@ -1178,7 +1178,9 @@ m = cmdutil.match(repo, pats, opts) if stat: it = patch.diff(repo, node1, node2, match=m, opts=diffopts) - width = ui.interactive() and util.termwidth() or 80 + width = 80 + if not ui.plain(): + width = util.termwidth() for chunk, label in patch.diffstatui(util.iterlines(it), width=width, git=diffopts.git): ui.write(chunk, label=label)