diff tests/test-diffstat.out @ 9640:9e76232fbfbe

diff: add --stat for diffstat output diff/qdiff --stat invokes patch.diffstat() on the diff output. When in interactive mode, the output's maximum width is determined by the terminal's width.
author Brodie Rao <me+hg@dackz.net>
date Sun, 25 Oct 2009 02:52:35 +0200
parents
children 7d17794f08a9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-diffstat.out	Sun Oct 25 02:52:35 2009 +0200
@@ -0,0 +1,12 @@
+% wide diffstat
+ a |  213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 files changed, 213 insertions(+), 0 deletions(-)
+% diffstat width
+ a |  213 ++++++++++++++
+ 1 files changed, 213 insertions(+), 0 deletions(-)
+% narrow diffstat
+ a |  3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+% binary diffstat
+ b |  0 
+ 1 files changed, 0 insertions(+), 0 deletions(-)