comparison tests/test-command-template @ 8012:8c5f1b28e0bb

tests: use unified diff in test-command-template for better error reports
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 06 Apr 2009 10:53:01 +0200
parents 5c4026a289a4
children 5b7da468531b
comparison
equal deleted inserted replaced
8011:25b63941b17b 8012:8c5f1b28e0bb
41 41
42 echo '# default style is like normal output' 42 echo '# default style is like normal output'
43 echo '# normal' 43 echo '# normal'
44 hg log > log.out 44 hg log > log.out
45 hg log --style default > style.out 45 hg log --style default > style.out
46 diff log.out style.out 46 diff -u log.out style.out
47 echo '# verbose' 47 echo '# verbose'
48 hg log -v > log.out 48 hg log -v > log.out
49 hg log -v --style default > style.out 49 hg log -v --style default > style.out
50 diff log.out style.out 50 diff -u log.out style.out
51 echo '# debug' 51 echo '# debug'
52 hg log --debug > log.out 52 hg log --debug > log.out
53 hg log --debug --style default > style.out 53 hg log --debug --style default > style.out
54 diff log.out style.out 54 diff -u log.out style.out
55 55
56 echo '# revision with no copies (used to print a traceback)' 56 echo '# revision with no copies (used to print a traceback)'
57 hg tip -v --template '\n' 57 hg tip -v --template '\n'
58 58
59 echo '# compact style works' 59 echo '# compact style works'