tests/test-command-template.t
changeset 24319 6ff513495a8b
parent 24280 6c55e37ba5f2
parent 24304 6136704b975d
child 24566 6abce80e6cbf
equal deleted inserted replaced
24318:8d55286fe5e2 24319:6ff513495a8b
   102 
   102 
   103   $ hg log -v > log.out
   103   $ hg log -v > log.out
   104   $ hg log -v --style default > style.out
   104   $ hg log -v --style default > style.out
   105   $ cmp log.out style.out || diff -u log.out style.out
   105   $ cmp log.out style.out || diff -u log.out style.out
   106 
   106 
       
   107   $ hg log -q > log.out
       
   108   $ hg log -q --style default > style.out
       
   109   $ cmp log.out style.out || diff -u log.out style.out
       
   110 
   107   $ hg log --debug > log.out
   111   $ hg log --debug > log.out
   108   $ hg log --debug --style default > style.out
   112   $ hg log --debug --style default > style.out
   109   $ cmp log.out style.out || diff -u log.out style.out
   113   $ cmp log.out style.out || diff -u log.out style.out
   110 
   114 
   111 Default style should also preserve color information (issue2866):
   115 Default style should also preserve color information (issue2866):
   119   $ hg --color=debug log > log.out
   123   $ hg --color=debug log > log.out
   120   $ hg --color=debug log --style default > style.out
   124   $ hg --color=debug log --style default > style.out
   121   $ cmp log.out style.out || diff -u log.out style.out
   125   $ cmp log.out style.out || diff -u log.out style.out
   122   $ hg --color=debug -v log > log.out
   126   $ hg --color=debug -v log > log.out
   123   $ hg --color=debug -v log --style default > style.out
   127   $ hg --color=debug -v log --style default > style.out
       
   128   $ cmp log.out style.out || diff -u log.out style.out
       
   129   $ hg --color=debug -q log > log.out
       
   130   $ hg --color=debug -q log --style default > style.out
   124   $ cmp log.out style.out || diff -u log.out style.out
   131   $ cmp log.out style.out || diff -u log.out style.out
   125   $ hg --color=debug --debug log > log.out
   132   $ hg --color=debug --debug log > log.out
   126   $ hg --color=debug --debug log --style default > style.out
   133   $ hg --color=debug --debug log --style default > style.out
   127   $ cmp log.out style.out || diff -u log.out style.out
   134   $ cmp log.out style.out || diff -u log.out style.out
   128 
   135