diff tests/test-mq-qdiff @ 11049:a84f14228b1d

mq: fix opts['unified'] = '0' to take effect when qdiff --stat `opts['unified'] = '0'` tries to reduce the number of lines to be processed by patch.diffstat, but here it does not affect diffopts, thus it does not make sense. Instead, we can change `diffopts.context` directly. Added test case for qdiff --stat.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 07 Apr 2010 00:10:54 +0900
parents 99d285ac5da4
children
line wrap: on
line diff
--- a/tests/test-mq-qdiff	Mon Apr 26 15:32:23 2010 +0200
+++ b/tests/test-mq-qdiff	Wed Apr 07 00:10:54 2010 +0900
@@ -68,3 +68,5 @@
 echo a >> lines
 hg qdiff
 
+echo % qdiff --stat
+hg qdiff --stat