tests/test-command-template
changeset 9382 829ac0af66a4
parent 8523 5b7da468531b
child 9536 f04d17912441
equal deleted inserted replaced
9380:e499a4147c66 9382:829ac0af66a4
    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 -u log.out style.out
    46 cmp log.out style.out || 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 -u log.out style.out
    50 cmp log.out style.out || 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 -u log.out style.out
    54 cmp log.out style.out || 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'