equal
deleted
inserted
replaced
24 echo 'style =' >> .hg/hgrc |
24 echo 'style =' >> .hg/hgrc |
25 |
25 |
26 echo '# default style is like normal output' |
26 echo '# default style is like normal output' |
27 hg log > log.out |
27 hg log > log.out |
28 hg log --style default > style.out |
28 hg log --style default > style.out |
29 diff -u log.out style.out |
29 diff log.out style.out |
30 hg log -v > log.out |
30 hg log -v > log.out |
31 hg log -v --style default > style.out |
31 hg log -v --style default > style.out |
32 diff -u log.out style.out |
32 diff log.out style.out |
33 hg log --debug > log.out |
33 hg log --debug > log.out |
34 hg log --debug --style default > style.out |
34 hg log --debug --style default > style.out |
35 diff -u log.out style.out |
35 diff log.out style.out |
36 |
36 |
37 echo '# compact style works' |
37 echo '# compact style works' |
38 hg log --style compact |
38 hg log --style compact |
39 hg log -v --style compact |
39 hg log -v --style compact |
40 hg log --debug --style compact |
40 hg log --debug --style compact |
75 |
75 |
76 echo '# filters work' |
76 echo '# filters work' |
77 hg log --template '{author|domain}\n' |
77 hg log --template '{author|domain}\n' |
78 hg log --template '{author|person}\n' |
78 hg log --template '{author|person}\n' |
79 hg log --template '{author|user}\n' |
79 hg log --template '{author|user}\n' |
80 hg log --template '{date|age}\n' |
80 hg log --template '{date|age}\n' > /dev/null || exit 1 |
81 hg log --template '{date|date}\n' |
81 hg log --template '{date|date}\n' |
82 hg log --template '{date|isodate}\n' |
82 hg log --template '{date|isodate}\n' |
83 hg log --template '{date|rfc822date}\n' |
83 hg log --template '{date|rfc822date}\n' |
84 hg log --template '{desc|firstline}\n' |
84 hg log --template '{desc|firstline}\n' |
85 hg log --template '{node|short}\n' |
85 hg log --template '{node|short}\n' |