Show More
@@ -125,6 +125,15 b' Test template map inheritance' | |||||
125 | date: Wed Jan 01 10:01:00 2020 +0000 |
|
125 | date: Wed Jan 01 10:01:00 2020 +0000 | |
126 | summary: third |
|
126 | summary: third | |
127 |
|
127 | |||
|
128 | Test map inheritance with non-existent base | |||
|
129 | ||||
|
130 | $ echo "__base__ = non-existent" > map-base-nonexistent | |||
|
131 | $ printf 'cset = "changeset: ***{rev}***\\n"\n' >> map-simple | |||
|
132 | $ hg log -l1 -T./map-base-nonexistent | |||
|
133 | abort: style '$TESTTMP/a/non-existent' not found | |||
|
134 | (available styles: bisect, changelog, compact, default, phases, show, status, xml) | |||
|
135 | [255] | |||
|
136 | ||||
128 | Test including a built-in template map |
|
137 | Test including a built-in template map | |
129 |
|
138 | |||
130 | $ cat <<'EOF' > map-include-builtin |
|
139 | $ cat <<'EOF' > map-include-builtin | |
@@ -136,6 +145,17 b' Test including a built-in template map' | |||||
136 | 8:95c24699272e |
|
145 | 8:95c24699272e | |
137 |
|
146 | |||
138 |
|
147 | |||
|
148 | Test including a nonexistent template map | |||
|
149 | BROKEN: This should probably be an error just like the bad __base__ above | |||
|
150 | ||||
|
151 | $ cat <<'EOF' > map-include-nonexistent | |||
|
152 | > %include nonexistent | |||
|
153 | > [templates] | |||
|
154 | > changeset = "test\n" | |||
|
155 | > EOF | |||
|
156 | $ hg log -l1 -T./map-include-nonexistent | |||
|
157 | test | |||
|
158 | ||||
139 | Test docheader, docfooter and separator in template map |
|
159 | Test docheader, docfooter and separator in template map | |
140 |
|
160 | |||
141 | $ cat <<'EOF' > map-myjson |
|
161 | $ cat <<'EOF' > map-myjson |
General Comments 0
You need to be logged in to leave comments.
Login now