##// END OF EJS Templates
test-command-template: add a short description of a temporary snippet...
Jordi Gutiérrez Hermoso -
r24852:515cd710 stable
parent child Browse files
Show More
@@ -94,12 +94,15 b' Template should precede style option'
94 $ hg log -l1 --style default -T '{rev}\n'
94 $ hg log -l1 --style default -T '{rev}\n'
95 8
95 8
96
96
97 Default style is like normal output:
97 Add a commit with empty description, to ensure that the templates
98 following below omit it properly.
98
99
99 $ echo c >> c
100 $ echo c >> c
100 $ hg add c
101 $ hg add c
101 $ hg commit -qm ' '
102 $ hg commit -qm ' '
102
103
104 Default style is like normal output.
105
103 $ hg log > log.out
106 $ hg log > log.out
104 $ hg log --style default > style.out
107 $ hg log --style default > style.out
105 $ cmp log.out style.out || diff -u log.out style.out
108 $ cmp log.out style.out || diff -u log.out style.out
@@ -139,6 +142,9 b' Default style should also preserve color'
139
142
140 $ mv $HGRCPATH-bak $HGRCPATH
143 $ mv $HGRCPATH-bak $HGRCPATH
141
144
145 Remove commit with empty commit message, so as to not pollute further
146 tests.
147
142 $ hg --config extensions.strip= strip -q .
148 $ hg --config extensions.strip= strip -q .
143
149
144 Revision with no copies (used to print a traceback):
150 Revision with no copies (used to print a traceback):
General Comments 0
You need to be logged in to leave comments. Login now