##// END OF EJS Templates
tests: make {date|age} template output independent of the current date
Steven Brown -
r15839:43317af3 default
parent child Browse files
Show More
@@ -1,1362 +1,1372
1 $ "$TESTDIR/hghave" unix-permissions || exit 80
1 $ "$TESTDIR/hghave" unix-permissions || exit 80
2
2
3 $ hg init a
3 $ hg init a
4 $ cd a
4 $ cd a
5 $ echo a > a
5 $ echo a > a
6 $ hg add a
6 $ hg add a
7 $ echo line 1 > b
7 $ echo line 1 > b
8 $ echo line 2 >> b
8 $ echo line 2 >> b
9 $ hg commit -l b -d '1000000 0' -u 'User Name <user@hostname>'
9 $ hg commit -l b -d '1000000 0' -u 'User Name <user@hostname>'
10
10
11 $ hg add b
11 $ hg add b
12 $ echo other 1 > c
12 $ echo other 1 > c
13 $ echo other 2 >> c
13 $ echo other 2 >> c
14 $ echo >> c
14 $ echo >> c
15 $ echo other 3 >> c
15 $ echo other 3 >> c
16 $ hg commit -l c -d '1100000 0' -u 'A. N. Other <other@place>'
16 $ hg commit -l c -d '1100000 0' -u 'A. N. Other <other@place>'
17
17
18 $ hg add c
18 $ hg add c
19 $ hg commit -m 'no person' -d '1200000 0' -u 'other@place'
19 $ hg commit -m 'no person' -d '1200000 0' -u 'other@place'
20 $ echo c >> c
20 $ echo c >> c
21 $ hg commit -m 'no user, no domain' -d '1300000 0' -u 'person'
21 $ hg commit -m 'no user, no domain' -d '1300000 0' -u 'person'
22
22
23 $ echo foo > .hg/branch
23 $ echo foo > .hg/branch
24 $ hg commit -m 'new branch' -d '1400000 0' -u 'person'
24 $ hg commit -m 'new branch' -d '1400000 0' -u 'person'
25
25
26 $ hg co -q 3
26 $ hg co -q 3
27 $ echo other 4 >> d
27 $ echo other 4 >> d
28 $ hg add d
28 $ hg add d
29 $ hg commit -m 'new head' -d '1500000 0' -u 'person'
29 $ hg commit -m 'new head' -d '1500000 0' -u 'person'
30
30
31 $ hg merge -q foo
31 $ hg merge -q foo
32 $ hg commit -m 'merge' -d '1500001 0' -u 'person'
32 $ hg commit -m 'merge' -d '1500001 0' -u 'person'
33
33
34 Second branch starting at nullrev:
34 Second branch starting at nullrev:
35
35
36 $ hg update null
36 $ hg update null
37 0 files updated, 0 files merged, 4 files removed, 0 files unresolved
37 0 files updated, 0 files merged, 4 files removed, 0 files unresolved
38 $ echo second > second
38 $ echo second > second
39 $ hg add second
39 $ hg add second
40 $ hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>'
40 $ hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>'
41 created new head
41 created new head
42
42
43 $ echo third > third
43 $ echo third > third
44 $ hg add third
44 $ hg add third
45 $ hg mv second fourth
45 $ hg mv second fourth
46 $ hg commit -m third -d "2020-01-01 10:01"
46 $ hg commit -m third -d "2020-01-01 10:01"
47
47
48 Make sure user/global hgrc does not affect tests
48 Make sure user/global hgrc does not affect tests
49
49
50 $ echo '[ui]' > .hg/hgrc
50 $ echo '[ui]' > .hg/hgrc
51 $ echo 'logtemplate =' >> .hg/hgrc
51 $ echo 'logtemplate =' >> .hg/hgrc
52 $ echo 'style =' >> .hg/hgrc
52 $ echo 'style =' >> .hg/hgrc
53
53
54 Default style is like normal output:
54 Default style is like normal output:
55
55
56 $ hg log > log.out
56 $ hg log > log.out
57 $ hg log --style default > style.out
57 $ hg log --style default > style.out
58 $ cmp log.out style.out || diff -u log.out style.out
58 $ cmp log.out style.out || diff -u log.out style.out
59
59
60 $ hg log -v > log.out
60 $ hg log -v > log.out
61 $ hg log -v --style default > style.out
61 $ hg log -v --style default > style.out
62 $ cmp log.out style.out || diff -u log.out style.out
62 $ cmp log.out style.out || diff -u log.out style.out
63
63
64 $ hg log --debug > log.out
64 $ hg log --debug > log.out
65 $ hg log --debug --style default > style.out
65 $ hg log --debug --style default > style.out
66 $ cmp log.out style.out || diff -u log.out style.out
66 $ cmp log.out style.out || diff -u log.out style.out
67
67
68 Revision with no copies (used to print a traceback):
68 Revision with no copies (used to print a traceback):
69
69
70 $ hg tip -v --template '\n'
70 $ hg tip -v --template '\n'
71
71
72
72
73 Compact style works:
73 Compact style works:
74
74
75 $ hg log --style compact
75 $ hg log --style compact
76 8[tip] 95c24699272e 2020-01-01 10:01 +0000 test
76 8[tip] 95c24699272e 2020-01-01 10:01 +0000 test
77 third
77 third
78
78
79 7:-1 29114dbae42b 1970-01-12 13:46 +0000 user
79 7:-1 29114dbae42b 1970-01-12 13:46 +0000 user
80 second
80 second
81
81
82 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
82 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
83 merge
83 merge
84
84
85 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person
85 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person
86 new head
86 new head
87
87
88 4 bbe44766e73d 1970-01-17 04:53 +0000 person
88 4 bbe44766e73d 1970-01-17 04:53 +0000 person
89 new branch
89 new branch
90
90
91 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person
91 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person
92 no user, no domain
92 no user, no domain
93
93
94 2 97054abb4ab8 1970-01-14 21:20 +0000 other
94 2 97054abb4ab8 1970-01-14 21:20 +0000 other
95 no person
95 no person
96
96
97 1 b608e9d1a3f0 1970-01-13 17:33 +0000 other
97 1 b608e9d1a3f0 1970-01-13 17:33 +0000 other
98 other 1
98 other 1
99
99
100 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 user
100 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 user
101 line 1
101 line 1
102
102
103
103
104 $ hg log -v --style compact
104 $ hg log -v --style compact
105 8[tip] 95c24699272e 2020-01-01 10:01 +0000 test
105 8[tip] 95c24699272e 2020-01-01 10:01 +0000 test
106 third
106 third
107
107
108 7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
108 7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
109 second
109 second
110
110
111 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
111 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
112 merge
112 merge
113
113
114 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person
114 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person
115 new head
115 new head
116
116
117 4 bbe44766e73d 1970-01-17 04:53 +0000 person
117 4 bbe44766e73d 1970-01-17 04:53 +0000 person
118 new branch
118 new branch
119
119
120 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person
120 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person
121 no user, no domain
121 no user, no domain
122
122
123 2 97054abb4ab8 1970-01-14 21:20 +0000 other@place
123 2 97054abb4ab8 1970-01-14 21:20 +0000 other@place
124 no person
124 no person
125
125
126 1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place>
126 1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place>
127 other 1
127 other 1
128 other 2
128 other 2
129
129
130 other 3
130 other 3
131
131
132 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname>
132 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname>
133 line 1
133 line 1
134 line 2
134 line 2
135
135
136
136
137 $ hg log --debug --style compact
137 $ hg log --debug --style compact
138 8[tip]:7,-1 95c24699272e 2020-01-01 10:01 +0000 test
138 8[tip]:7,-1 95c24699272e 2020-01-01 10:01 +0000 test
139 third
139 third
140
140
141 7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
141 7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
142 second
142 second
143
143
144 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
144 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person
145 merge
145 merge
146
146
147 5:3,-1 13207e5a10d9 1970-01-18 08:40 +0000 person
147 5:3,-1 13207e5a10d9 1970-01-18 08:40 +0000 person
148 new head
148 new head
149
149
150 4:3,-1 bbe44766e73d 1970-01-17 04:53 +0000 person
150 4:3,-1 bbe44766e73d 1970-01-17 04:53 +0000 person
151 new branch
151 new branch
152
152
153 3:2,-1 10e46f2dcbf4 1970-01-16 01:06 +0000 person
153 3:2,-1 10e46f2dcbf4 1970-01-16 01:06 +0000 person
154 no user, no domain
154 no user, no domain
155
155
156 2:1,-1 97054abb4ab8 1970-01-14 21:20 +0000 other@place
156 2:1,-1 97054abb4ab8 1970-01-14 21:20 +0000 other@place
157 no person
157 no person
158
158
159 1:0,-1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place>
159 1:0,-1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place>
160 other 1
160 other 1
161 other 2
161 other 2
162
162
163 other 3
163 other 3
164
164
165 0:-1,-1 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname>
165 0:-1,-1 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname>
166 line 1
166 line 1
167 line 2
167 line 2
168
168
169
169
170 Test xml styles:
170 Test xml styles:
171
171
172 $ hg log --style xml
172 $ hg log --style xml
173 <?xml version="1.0"?>
173 <?xml version="1.0"?>
174 <log>
174 <log>
175 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
175 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
176 <tag>tip</tag>
176 <tag>tip</tag>
177 <author email="test">test</author>
177 <author email="test">test</author>
178 <date>2020-01-01T10:01:00+00:00</date>
178 <date>2020-01-01T10:01:00+00:00</date>
179 <msg xml:space="preserve">third</msg>
179 <msg xml:space="preserve">third</msg>
180 </logentry>
180 </logentry>
181 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
181 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
182 <parent revision="-1" node="0000000000000000000000000000000000000000" />
182 <parent revision="-1" node="0000000000000000000000000000000000000000" />
183 <author email="user@hostname">User Name</author>
183 <author email="user@hostname">User Name</author>
184 <date>1970-01-12T13:46:40+00:00</date>
184 <date>1970-01-12T13:46:40+00:00</date>
185 <msg xml:space="preserve">second</msg>
185 <msg xml:space="preserve">second</msg>
186 </logentry>
186 </logentry>
187 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
187 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
188 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
188 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
189 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
189 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
190 <author email="person">person</author>
190 <author email="person">person</author>
191 <date>1970-01-18T08:40:01+00:00</date>
191 <date>1970-01-18T08:40:01+00:00</date>
192 <msg xml:space="preserve">merge</msg>
192 <msg xml:space="preserve">merge</msg>
193 </logentry>
193 </logentry>
194 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
194 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
195 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
195 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
196 <author email="person">person</author>
196 <author email="person">person</author>
197 <date>1970-01-18T08:40:00+00:00</date>
197 <date>1970-01-18T08:40:00+00:00</date>
198 <msg xml:space="preserve">new head</msg>
198 <msg xml:space="preserve">new head</msg>
199 </logentry>
199 </logentry>
200 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
200 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
201 <branch>foo</branch>
201 <branch>foo</branch>
202 <author email="person">person</author>
202 <author email="person">person</author>
203 <date>1970-01-17T04:53:20+00:00</date>
203 <date>1970-01-17T04:53:20+00:00</date>
204 <msg xml:space="preserve">new branch</msg>
204 <msg xml:space="preserve">new branch</msg>
205 </logentry>
205 </logentry>
206 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
206 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
207 <author email="person">person</author>
207 <author email="person">person</author>
208 <date>1970-01-16T01:06:40+00:00</date>
208 <date>1970-01-16T01:06:40+00:00</date>
209 <msg xml:space="preserve">no user, no domain</msg>
209 <msg xml:space="preserve">no user, no domain</msg>
210 </logentry>
210 </logentry>
211 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
211 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
212 <author email="other@place">other</author>
212 <author email="other@place">other</author>
213 <date>1970-01-14T21:20:00+00:00</date>
213 <date>1970-01-14T21:20:00+00:00</date>
214 <msg xml:space="preserve">no person</msg>
214 <msg xml:space="preserve">no person</msg>
215 </logentry>
215 </logentry>
216 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
216 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
217 <author email="other@place">A. N. Other</author>
217 <author email="other@place">A. N. Other</author>
218 <date>1970-01-13T17:33:20+00:00</date>
218 <date>1970-01-13T17:33:20+00:00</date>
219 <msg xml:space="preserve">other 1
219 <msg xml:space="preserve">other 1
220 other 2
220 other 2
221
221
222 other 3</msg>
222 other 3</msg>
223 </logentry>
223 </logentry>
224 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
224 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
225 <author email="user@hostname">User Name</author>
225 <author email="user@hostname">User Name</author>
226 <date>1970-01-12T13:46:40+00:00</date>
226 <date>1970-01-12T13:46:40+00:00</date>
227 <msg xml:space="preserve">line 1
227 <msg xml:space="preserve">line 1
228 line 2</msg>
228 line 2</msg>
229 </logentry>
229 </logentry>
230 </log>
230 </log>
231
231
232 $ hg log -v --style xml
232 $ hg log -v --style xml
233 <?xml version="1.0"?>
233 <?xml version="1.0"?>
234 <log>
234 <log>
235 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
235 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
236 <tag>tip</tag>
236 <tag>tip</tag>
237 <author email="test">test</author>
237 <author email="test">test</author>
238 <date>2020-01-01T10:01:00+00:00</date>
238 <date>2020-01-01T10:01:00+00:00</date>
239 <msg xml:space="preserve">third</msg>
239 <msg xml:space="preserve">third</msg>
240 <paths>
240 <paths>
241 <path action="A">fourth</path>
241 <path action="A">fourth</path>
242 <path action="A">third</path>
242 <path action="A">third</path>
243 <path action="R">second</path>
243 <path action="R">second</path>
244 </paths>
244 </paths>
245 <copies>
245 <copies>
246 <copy source="second">fourth</copy>
246 <copy source="second">fourth</copy>
247 </copies>
247 </copies>
248 </logentry>
248 </logentry>
249 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
249 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
250 <parent revision="-1" node="0000000000000000000000000000000000000000" />
250 <parent revision="-1" node="0000000000000000000000000000000000000000" />
251 <author email="user@hostname">User Name</author>
251 <author email="user@hostname">User Name</author>
252 <date>1970-01-12T13:46:40+00:00</date>
252 <date>1970-01-12T13:46:40+00:00</date>
253 <msg xml:space="preserve">second</msg>
253 <msg xml:space="preserve">second</msg>
254 <paths>
254 <paths>
255 <path action="A">second</path>
255 <path action="A">second</path>
256 </paths>
256 </paths>
257 </logentry>
257 </logentry>
258 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
258 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
259 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
259 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
260 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
260 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
261 <author email="person">person</author>
261 <author email="person">person</author>
262 <date>1970-01-18T08:40:01+00:00</date>
262 <date>1970-01-18T08:40:01+00:00</date>
263 <msg xml:space="preserve">merge</msg>
263 <msg xml:space="preserve">merge</msg>
264 <paths>
264 <paths>
265 </paths>
265 </paths>
266 </logentry>
266 </logentry>
267 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
267 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
268 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
268 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
269 <author email="person">person</author>
269 <author email="person">person</author>
270 <date>1970-01-18T08:40:00+00:00</date>
270 <date>1970-01-18T08:40:00+00:00</date>
271 <msg xml:space="preserve">new head</msg>
271 <msg xml:space="preserve">new head</msg>
272 <paths>
272 <paths>
273 <path action="A">d</path>
273 <path action="A">d</path>
274 </paths>
274 </paths>
275 </logentry>
275 </logentry>
276 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
276 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
277 <branch>foo</branch>
277 <branch>foo</branch>
278 <author email="person">person</author>
278 <author email="person">person</author>
279 <date>1970-01-17T04:53:20+00:00</date>
279 <date>1970-01-17T04:53:20+00:00</date>
280 <msg xml:space="preserve">new branch</msg>
280 <msg xml:space="preserve">new branch</msg>
281 <paths>
281 <paths>
282 </paths>
282 </paths>
283 </logentry>
283 </logentry>
284 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
284 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
285 <author email="person">person</author>
285 <author email="person">person</author>
286 <date>1970-01-16T01:06:40+00:00</date>
286 <date>1970-01-16T01:06:40+00:00</date>
287 <msg xml:space="preserve">no user, no domain</msg>
287 <msg xml:space="preserve">no user, no domain</msg>
288 <paths>
288 <paths>
289 <path action="M">c</path>
289 <path action="M">c</path>
290 </paths>
290 </paths>
291 </logentry>
291 </logentry>
292 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
292 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
293 <author email="other@place">other</author>
293 <author email="other@place">other</author>
294 <date>1970-01-14T21:20:00+00:00</date>
294 <date>1970-01-14T21:20:00+00:00</date>
295 <msg xml:space="preserve">no person</msg>
295 <msg xml:space="preserve">no person</msg>
296 <paths>
296 <paths>
297 <path action="A">c</path>
297 <path action="A">c</path>
298 </paths>
298 </paths>
299 </logentry>
299 </logentry>
300 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
300 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
301 <author email="other@place">A. N. Other</author>
301 <author email="other@place">A. N. Other</author>
302 <date>1970-01-13T17:33:20+00:00</date>
302 <date>1970-01-13T17:33:20+00:00</date>
303 <msg xml:space="preserve">other 1
303 <msg xml:space="preserve">other 1
304 other 2
304 other 2
305
305
306 other 3</msg>
306 other 3</msg>
307 <paths>
307 <paths>
308 <path action="A">b</path>
308 <path action="A">b</path>
309 </paths>
309 </paths>
310 </logentry>
310 </logentry>
311 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
311 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
312 <author email="user@hostname">User Name</author>
312 <author email="user@hostname">User Name</author>
313 <date>1970-01-12T13:46:40+00:00</date>
313 <date>1970-01-12T13:46:40+00:00</date>
314 <msg xml:space="preserve">line 1
314 <msg xml:space="preserve">line 1
315 line 2</msg>
315 line 2</msg>
316 <paths>
316 <paths>
317 <path action="A">a</path>
317 <path action="A">a</path>
318 </paths>
318 </paths>
319 </logentry>
319 </logentry>
320 </log>
320 </log>
321
321
322 $ hg log --debug --style xml
322 $ hg log --debug --style xml
323 <?xml version="1.0"?>
323 <?xml version="1.0"?>
324 <log>
324 <log>
325 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
325 <logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a">
326 <tag>tip</tag>
326 <tag>tip</tag>
327 <parent revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453" />
327 <parent revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453" />
328 <parent revision="-1" node="0000000000000000000000000000000000000000" />
328 <parent revision="-1" node="0000000000000000000000000000000000000000" />
329 <author email="test">test</author>
329 <author email="test">test</author>
330 <date>2020-01-01T10:01:00+00:00</date>
330 <date>2020-01-01T10:01:00+00:00</date>
331 <msg xml:space="preserve">third</msg>
331 <msg xml:space="preserve">third</msg>
332 <paths>
332 <paths>
333 <path action="A">fourth</path>
333 <path action="A">fourth</path>
334 <path action="A">third</path>
334 <path action="A">third</path>
335 <path action="R">second</path>
335 <path action="R">second</path>
336 </paths>
336 </paths>
337 <copies>
337 <copies>
338 <copy source="second">fourth</copy>
338 <copy source="second">fourth</copy>
339 </copies>
339 </copies>
340 <extra key="branch">default</extra>
340 <extra key="branch">default</extra>
341 </logentry>
341 </logentry>
342 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
342 <logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453">
343 <parent revision="-1" node="0000000000000000000000000000000000000000" />
343 <parent revision="-1" node="0000000000000000000000000000000000000000" />
344 <parent revision="-1" node="0000000000000000000000000000000000000000" />
344 <parent revision="-1" node="0000000000000000000000000000000000000000" />
345 <author email="user@hostname">User Name</author>
345 <author email="user@hostname">User Name</author>
346 <date>1970-01-12T13:46:40+00:00</date>
346 <date>1970-01-12T13:46:40+00:00</date>
347 <msg xml:space="preserve">second</msg>
347 <msg xml:space="preserve">second</msg>
348 <paths>
348 <paths>
349 <path action="A">second</path>
349 <path action="A">second</path>
350 </paths>
350 </paths>
351 <extra key="branch">default</extra>
351 <extra key="branch">default</extra>
352 </logentry>
352 </logentry>
353 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
353 <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b">
354 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
354 <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" />
355 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
355 <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" />
356 <author email="person">person</author>
356 <author email="person">person</author>
357 <date>1970-01-18T08:40:01+00:00</date>
357 <date>1970-01-18T08:40:01+00:00</date>
358 <msg xml:space="preserve">merge</msg>
358 <msg xml:space="preserve">merge</msg>
359 <paths>
359 <paths>
360 </paths>
360 </paths>
361 <extra key="branch">default</extra>
361 <extra key="branch">default</extra>
362 </logentry>
362 </logentry>
363 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
363 <logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f">
364 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
364 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
365 <parent revision="-1" node="0000000000000000000000000000000000000000" />
365 <parent revision="-1" node="0000000000000000000000000000000000000000" />
366 <author email="person">person</author>
366 <author email="person">person</author>
367 <date>1970-01-18T08:40:00+00:00</date>
367 <date>1970-01-18T08:40:00+00:00</date>
368 <msg xml:space="preserve">new head</msg>
368 <msg xml:space="preserve">new head</msg>
369 <paths>
369 <paths>
370 <path action="A">d</path>
370 <path action="A">d</path>
371 </paths>
371 </paths>
372 <extra key="branch">default</extra>
372 <extra key="branch">default</extra>
373 </logentry>
373 </logentry>
374 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
374 <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74">
375 <branch>foo</branch>
375 <branch>foo</branch>
376 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
376 <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" />
377 <parent revision="-1" node="0000000000000000000000000000000000000000" />
377 <parent revision="-1" node="0000000000000000000000000000000000000000" />
378 <author email="person">person</author>
378 <author email="person">person</author>
379 <date>1970-01-17T04:53:20+00:00</date>
379 <date>1970-01-17T04:53:20+00:00</date>
380 <msg xml:space="preserve">new branch</msg>
380 <msg xml:space="preserve">new branch</msg>
381 <paths>
381 <paths>
382 </paths>
382 </paths>
383 <extra key="branch">foo</extra>
383 <extra key="branch">foo</extra>
384 </logentry>
384 </logentry>
385 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
385 <logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47">
386 <parent revision="2" node="97054abb4ab824450e9164180baf491ae0078465" />
386 <parent revision="2" node="97054abb4ab824450e9164180baf491ae0078465" />
387 <parent revision="-1" node="0000000000000000000000000000000000000000" />
387 <parent revision="-1" node="0000000000000000000000000000000000000000" />
388 <author email="person">person</author>
388 <author email="person">person</author>
389 <date>1970-01-16T01:06:40+00:00</date>
389 <date>1970-01-16T01:06:40+00:00</date>
390 <msg xml:space="preserve">no user, no domain</msg>
390 <msg xml:space="preserve">no user, no domain</msg>
391 <paths>
391 <paths>
392 <path action="M">c</path>
392 <path action="M">c</path>
393 </paths>
393 </paths>
394 <extra key="branch">default</extra>
394 <extra key="branch">default</extra>
395 </logentry>
395 </logentry>
396 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
396 <logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465">
397 <parent revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965" />
397 <parent revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965" />
398 <parent revision="-1" node="0000000000000000000000000000000000000000" />
398 <parent revision="-1" node="0000000000000000000000000000000000000000" />
399 <author email="other@place">other</author>
399 <author email="other@place">other</author>
400 <date>1970-01-14T21:20:00+00:00</date>
400 <date>1970-01-14T21:20:00+00:00</date>
401 <msg xml:space="preserve">no person</msg>
401 <msg xml:space="preserve">no person</msg>
402 <paths>
402 <paths>
403 <path action="A">c</path>
403 <path action="A">c</path>
404 </paths>
404 </paths>
405 <extra key="branch">default</extra>
405 <extra key="branch">default</extra>
406 </logentry>
406 </logentry>
407 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
407 <logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965">
408 <parent revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f" />
408 <parent revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f" />
409 <parent revision="-1" node="0000000000000000000000000000000000000000" />
409 <parent revision="-1" node="0000000000000000000000000000000000000000" />
410 <author email="other@place">A. N. Other</author>
410 <author email="other@place">A. N. Other</author>
411 <date>1970-01-13T17:33:20+00:00</date>
411 <date>1970-01-13T17:33:20+00:00</date>
412 <msg xml:space="preserve">other 1
412 <msg xml:space="preserve">other 1
413 other 2
413 other 2
414
414
415 other 3</msg>
415 other 3</msg>
416 <paths>
416 <paths>
417 <path action="A">b</path>
417 <path action="A">b</path>
418 </paths>
418 </paths>
419 <extra key="branch">default</extra>
419 <extra key="branch">default</extra>
420 </logentry>
420 </logentry>
421 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
421 <logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f">
422 <parent revision="-1" node="0000000000000000000000000000000000000000" />
422 <parent revision="-1" node="0000000000000000000000000000000000000000" />
423 <parent revision="-1" node="0000000000000000000000000000000000000000" />
423 <parent revision="-1" node="0000000000000000000000000000000000000000" />
424 <author email="user@hostname">User Name</author>
424 <author email="user@hostname">User Name</author>
425 <date>1970-01-12T13:46:40+00:00</date>
425 <date>1970-01-12T13:46:40+00:00</date>
426 <msg xml:space="preserve">line 1
426 <msg xml:space="preserve">line 1
427 line 2</msg>
427 line 2</msg>
428 <paths>
428 <paths>
429 <path action="A">a</path>
429 <path action="A">a</path>
430 </paths>
430 </paths>
431 <extra key="branch">default</extra>
431 <extra key="branch">default</extra>
432 </logentry>
432 </logentry>
433 </log>
433 </log>
434
434
435
435
436 Error if style not readable:
436 Error if style not readable:
437
437
438 $ touch q
438 $ touch q
439 $ chmod 0 q
439 $ chmod 0 q
440 $ hg log --style ./q
440 $ hg log --style ./q
441 abort: Permission denied: ./q
441 abort: Permission denied: ./q
442 [255]
442 [255]
443
443
444 Error if no style:
444 Error if no style:
445
445
446 $ hg log --style notexist
446 $ hg log --style notexist
447 abort: style not found: notexist
447 abort: style not found: notexist
448 [255]
448 [255]
449
449
450 Error if style missing key:
450 Error if style missing key:
451
451
452 $ echo 'q = q' > t
452 $ echo 'q = q' > t
453 $ hg log --style ./t
453 $ hg log --style ./t
454 abort: "changeset" not in template map
454 abort: "changeset" not in template map
455 [255]
455 [255]
456
456
457 Error if include fails:
457 Error if include fails:
458
458
459 $ echo 'changeset = q' >> t
459 $ echo 'changeset = q' >> t
460 $ hg log --style ./t
460 $ hg log --style ./t
461 abort: template file ./q: Permission denied
461 abort: template file ./q: Permission denied
462 [255]
462 [255]
463
463
464 Include works:
464 Include works:
465
465
466 $ rm q
466 $ rm q
467 $ echo '{rev}' > q
467 $ echo '{rev}' > q
468 $ hg log --style ./t
468 $ hg log --style ./t
469 8
469 8
470 7
470 7
471 6
471 6
472 5
472 5
473 4
473 4
474 3
474 3
475 2
475 2
476 1
476 1
477 0
477 0
478
478
479 ui.style works:
479 ui.style works:
480
480
481 $ echo '[ui]' > .hg/hgrc
481 $ echo '[ui]' > .hg/hgrc
482 $ echo 'style = t' >> .hg/hgrc
482 $ echo 'style = t' >> .hg/hgrc
483 $ hg log
483 $ hg log
484 8
484 8
485 7
485 7
486 6
486 6
487 5
487 5
488 4
488 4
489 3
489 3
490 2
490 2
491 1
491 1
492 0
492 0
493
493
494
494
495 Issue338:
495 Issue338:
496
496
497 $ hg log --style=changelog > changelog
497 $ hg log --style=changelog > changelog
498
498
499 $ cat changelog
499 $ cat changelog
500 2020-01-01 test <test>
500 2020-01-01 test <test>
501
501
502 * fourth, second, third:
502 * fourth, second, third:
503 third
503 third
504 [95c24699272e] [tip]
504 [95c24699272e] [tip]
505
505
506 1970-01-12 User Name <user@hostname>
506 1970-01-12 User Name <user@hostname>
507
507
508 * second:
508 * second:
509 second
509 second
510 [29114dbae42b]
510 [29114dbae42b]
511
511
512 1970-01-18 person <person>
512 1970-01-18 person <person>
513
513
514 * merge
514 * merge
515 [d41e714fe50d]
515 [d41e714fe50d]
516
516
517 * d:
517 * d:
518 new head
518 new head
519 [13207e5a10d9]
519 [13207e5a10d9]
520
520
521 1970-01-17 person <person>
521 1970-01-17 person <person>
522
522
523 * new branch
523 * new branch
524 [bbe44766e73d] <foo>
524 [bbe44766e73d] <foo>
525
525
526 1970-01-16 person <person>
526 1970-01-16 person <person>
527
527
528 * c:
528 * c:
529 no user, no domain
529 no user, no domain
530 [10e46f2dcbf4]
530 [10e46f2dcbf4]
531
531
532 1970-01-14 other <other@place>
532 1970-01-14 other <other@place>
533
533
534 * c:
534 * c:
535 no person
535 no person
536 [97054abb4ab8]
536 [97054abb4ab8]
537
537
538 1970-01-13 A. N. Other <other@place>
538 1970-01-13 A. N. Other <other@place>
539
539
540 * b:
540 * b:
541 other 1 other 2
541 other 1 other 2
542
542
543 other 3
543 other 3
544 [b608e9d1a3f0]
544 [b608e9d1a3f0]
545
545
546 1970-01-12 User Name <user@hostname>
546 1970-01-12 User Name <user@hostname>
547
547
548 * a:
548 * a:
549 line 1 line 2
549 line 1 line 2
550 [1e4e1b8f71e0]
550 [1e4e1b8f71e0]
551
551
552
552
553 Issue2130: xml output for 'hg heads' is malformed
553 Issue2130: xml output for 'hg heads' is malformed
554
554
555 $ hg heads --style changelog
555 $ hg heads --style changelog
556 2020-01-01 test <test>
556 2020-01-01 test <test>
557
557
558 * fourth, second, third:
558 * fourth, second, third:
559 third
559 third
560 [95c24699272e] [tip]
560 [95c24699272e] [tip]
561
561
562 1970-01-18 person <person>
562 1970-01-18 person <person>
563
563
564 * merge
564 * merge
565 [d41e714fe50d]
565 [d41e714fe50d]
566
566
567 1970-01-17 person <person>
567 1970-01-17 person <person>
568
568
569 * new branch
569 * new branch
570 [bbe44766e73d] <foo>
570 [bbe44766e73d] <foo>
571
571
572
572
573 Keys work:
573 Keys work:
574
574
575 $ for key in author branch branches date desc file_adds file_dels file_mods \
575 $ for key in author branch branches date desc file_adds file_dels file_mods \
576 > file_copies file_copies_switch files \
576 > file_copies file_copies_switch files \
577 > manifest node parents rev tags diffstat extras; do
577 > manifest node parents rev tags diffstat extras; do
578 > for mode in '' --verbose --debug; do
578 > for mode in '' --verbose --debug; do
579 > hg log $mode --template "$key$mode: {$key}\n"
579 > hg log $mode --template "$key$mode: {$key}\n"
580 > done
580 > done
581 > done
581 > done
582 author: test
582 author: test
583 author: User Name <user@hostname>
583 author: User Name <user@hostname>
584 author: person
584 author: person
585 author: person
585 author: person
586 author: person
586 author: person
587 author: person
587 author: person
588 author: other@place
588 author: other@place
589 author: A. N. Other <other@place>
589 author: A. N. Other <other@place>
590 author: User Name <user@hostname>
590 author: User Name <user@hostname>
591 author--verbose: test
591 author--verbose: test
592 author--verbose: User Name <user@hostname>
592 author--verbose: User Name <user@hostname>
593 author--verbose: person
593 author--verbose: person
594 author--verbose: person
594 author--verbose: person
595 author--verbose: person
595 author--verbose: person
596 author--verbose: person
596 author--verbose: person
597 author--verbose: other@place
597 author--verbose: other@place
598 author--verbose: A. N. Other <other@place>
598 author--verbose: A. N. Other <other@place>
599 author--verbose: User Name <user@hostname>
599 author--verbose: User Name <user@hostname>
600 author--debug: test
600 author--debug: test
601 author--debug: User Name <user@hostname>
601 author--debug: User Name <user@hostname>
602 author--debug: person
602 author--debug: person
603 author--debug: person
603 author--debug: person
604 author--debug: person
604 author--debug: person
605 author--debug: person
605 author--debug: person
606 author--debug: other@place
606 author--debug: other@place
607 author--debug: A. N. Other <other@place>
607 author--debug: A. N. Other <other@place>
608 author--debug: User Name <user@hostname>
608 author--debug: User Name <user@hostname>
609 branch: default
609 branch: default
610 branch: default
610 branch: default
611 branch: default
611 branch: default
612 branch: default
612 branch: default
613 branch: foo
613 branch: foo
614 branch: default
614 branch: default
615 branch: default
615 branch: default
616 branch: default
616 branch: default
617 branch: default
617 branch: default
618 branch--verbose: default
618 branch--verbose: default
619 branch--verbose: default
619 branch--verbose: default
620 branch--verbose: default
620 branch--verbose: default
621 branch--verbose: default
621 branch--verbose: default
622 branch--verbose: foo
622 branch--verbose: foo
623 branch--verbose: default
623 branch--verbose: default
624 branch--verbose: default
624 branch--verbose: default
625 branch--verbose: default
625 branch--verbose: default
626 branch--verbose: default
626 branch--verbose: default
627 branch--debug: default
627 branch--debug: default
628 branch--debug: default
628 branch--debug: default
629 branch--debug: default
629 branch--debug: default
630 branch--debug: default
630 branch--debug: default
631 branch--debug: foo
631 branch--debug: foo
632 branch--debug: default
632 branch--debug: default
633 branch--debug: default
633 branch--debug: default
634 branch--debug: default
634 branch--debug: default
635 branch--debug: default
635 branch--debug: default
636 branches:
636 branches:
637 branches:
637 branches:
638 branches:
638 branches:
639 branches:
639 branches:
640 branches: foo
640 branches: foo
641 branches:
641 branches:
642 branches:
642 branches:
643 branches:
643 branches:
644 branches:
644 branches:
645 branches--verbose:
645 branches--verbose:
646 branches--verbose:
646 branches--verbose:
647 branches--verbose:
647 branches--verbose:
648 branches--verbose:
648 branches--verbose:
649 branches--verbose: foo
649 branches--verbose: foo
650 branches--verbose:
650 branches--verbose:
651 branches--verbose:
651 branches--verbose:
652 branches--verbose:
652 branches--verbose:
653 branches--verbose:
653 branches--verbose:
654 branches--debug:
654 branches--debug:
655 branches--debug:
655 branches--debug:
656 branches--debug:
656 branches--debug:
657 branches--debug:
657 branches--debug:
658 branches--debug: foo
658 branches--debug: foo
659 branches--debug:
659 branches--debug:
660 branches--debug:
660 branches--debug:
661 branches--debug:
661 branches--debug:
662 branches--debug:
662 branches--debug:
663 date: 1577872860.00
663 date: 1577872860.00
664 date: 1000000.00
664 date: 1000000.00
665 date: 1500001.00
665 date: 1500001.00
666 date: 1500000.00
666 date: 1500000.00
667 date: 1400000.00
667 date: 1400000.00
668 date: 1300000.00
668 date: 1300000.00
669 date: 1200000.00
669 date: 1200000.00
670 date: 1100000.00
670 date: 1100000.00
671 date: 1000000.00
671 date: 1000000.00
672 date--verbose: 1577872860.00
672 date--verbose: 1577872860.00
673 date--verbose: 1000000.00
673 date--verbose: 1000000.00
674 date--verbose: 1500001.00
674 date--verbose: 1500001.00
675 date--verbose: 1500000.00
675 date--verbose: 1500000.00
676 date--verbose: 1400000.00
676 date--verbose: 1400000.00
677 date--verbose: 1300000.00
677 date--verbose: 1300000.00
678 date--verbose: 1200000.00
678 date--verbose: 1200000.00
679 date--verbose: 1100000.00
679 date--verbose: 1100000.00
680 date--verbose: 1000000.00
680 date--verbose: 1000000.00
681 date--debug: 1577872860.00
681 date--debug: 1577872860.00
682 date--debug: 1000000.00
682 date--debug: 1000000.00
683 date--debug: 1500001.00
683 date--debug: 1500001.00
684 date--debug: 1500000.00
684 date--debug: 1500000.00
685 date--debug: 1400000.00
685 date--debug: 1400000.00
686 date--debug: 1300000.00
686 date--debug: 1300000.00
687 date--debug: 1200000.00
687 date--debug: 1200000.00
688 date--debug: 1100000.00
688 date--debug: 1100000.00
689 date--debug: 1000000.00
689 date--debug: 1000000.00
690 desc: third
690 desc: third
691 desc: second
691 desc: second
692 desc: merge
692 desc: merge
693 desc: new head
693 desc: new head
694 desc: new branch
694 desc: new branch
695 desc: no user, no domain
695 desc: no user, no domain
696 desc: no person
696 desc: no person
697 desc: other 1
697 desc: other 1
698 other 2
698 other 2
699
699
700 other 3
700 other 3
701 desc: line 1
701 desc: line 1
702 line 2
702 line 2
703 desc--verbose: third
703 desc--verbose: third
704 desc--verbose: second
704 desc--verbose: second
705 desc--verbose: merge
705 desc--verbose: merge
706 desc--verbose: new head
706 desc--verbose: new head
707 desc--verbose: new branch
707 desc--verbose: new branch
708 desc--verbose: no user, no domain
708 desc--verbose: no user, no domain
709 desc--verbose: no person
709 desc--verbose: no person
710 desc--verbose: other 1
710 desc--verbose: other 1
711 other 2
711 other 2
712
712
713 other 3
713 other 3
714 desc--verbose: line 1
714 desc--verbose: line 1
715 line 2
715 line 2
716 desc--debug: third
716 desc--debug: third
717 desc--debug: second
717 desc--debug: second
718 desc--debug: merge
718 desc--debug: merge
719 desc--debug: new head
719 desc--debug: new head
720 desc--debug: new branch
720 desc--debug: new branch
721 desc--debug: no user, no domain
721 desc--debug: no user, no domain
722 desc--debug: no person
722 desc--debug: no person
723 desc--debug: other 1
723 desc--debug: other 1
724 other 2
724 other 2
725
725
726 other 3
726 other 3
727 desc--debug: line 1
727 desc--debug: line 1
728 line 2
728 line 2
729 file_adds: fourth third
729 file_adds: fourth third
730 file_adds: second
730 file_adds: second
731 file_adds:
731 file_adds:
732 file_adds: d
732 file_adds: d
733 file_adds:
733 file_adds:
734 file_adds:
734 file_adds:
735 file_adds: c
735 file_adds: c
736 file_adds: b
736 file_adds: b
737 file_adds: a
737 file_adds: a
738 file_adds--verbose: fourth third
738 file_adds--verbose: fourth third
739 file_adds--verbose: second
739 file_adds--verbose: second
740 file_adds--verbose:
740 file_adds--verbose:
741 file_adds--verbose: d
741 file_adds--verbose: d
742 file_adds--verbose:
742 file_adds--verbose:
743 file_adds--verbose:
743 file_adds--verbose:
744 file_adds--verbose: c
744 file_adds--verbose: c
745 file_adds--verbose: b
745 file_adds--verbose: b
746 file_adds--verbose: a
746 file_adds--verbose: a
747 file_adds--debug: fourth third
747 file_adds--debug: fourth third
748 file_adds--debug: second
748 file_adds--debug: second
749 file_adds--debug:
749 file_adds--debug:
750 file_adds--debug: d
750 file_adds--debug: d
751 file_adds--debug:
751 file_adds--debug:
752 file_adds--debug:
752 file_adds--debug:
753 file_adds--debug: c
753 file_adds--debug: c
754 file_adds--debug: b
754 file_adds--debug: b
755 file_adds--debug: a
755 file_adds--debug: a
756 file_dels: second
756 file_dels: second
757 file_dels:
757 file_dels:
758 file_dels:
758 file_dels:
759 file_dels:
759 file_dels:
760 file_dels:
760 file_dels:
761 file_dels:
761 file_dels:
762 file_dels:
762 file_dels:
763 file_dels:
763 file_dels:
764 file_dels:
764 file_dels:
765 file_dels--verbose: second
765 file_dels--verbose: second
766 file_dels--verbose:
766 file_dels--verbose:
767 file_dels--verbose:
767 file_dels--verbose:
768 file_dels--verbose:
768 file_dels--verbose:
769 file_dels--verbose:
769 file_dels--verbose:
770 file_dels--verbose:
770 file_dels--verbose:
771 file_dels--verbose:
771 file_dels--verbose:
772 file_dels--verbose:
772 file_dels--verbose:
773 file_dels--verbose:
773 file_dels--verbose:
774 file_dels--debug: second
774 file_dels--debug: second
775 file_dels--debug:
775 file_dels--debug:
776 file_dels--debug:
776 file_dels--debug:
777 file_dels--debug:
777 file_dels--debug:
778 file_dels--debug:
778 file_dels--debug:
779 file_dels--debug:
779 file_dels--debug:
780 file_dels--debug:
780 file_dels--debug:
781 file_dels--debug:
781 file_dels--debug:
782 file_dels--debug:
782 file_dels--debug:
783 file_mods:
783 file_mods:
784 file_mods:
784 file_mods:
785 file_mods:
785 file_mods:
786 file_mods:
786 file_mods:
787 file_mods:
787 file_mods:
788 file_mods: c
788 file_mods: c
789 file_mods:
789 file_mods:
790 file_mods:
790 file_mods:
791 file_mods:
791 file_mods:
792 file_mods--verbose:
792 file_mods--verbose:
793 file_mods--verbose:
793 file_mods--verbose:
794 file_mods--verbose:
794 file_mods--verbose:
795 file_mods--verbose:
795 file_mods--verbose:
796 file_mods--verbose:
796 file_mods--verbose:
797 file_mods--verbose: c
797 file_mods--verbose: c
798 file_mods--verbose:
798 file_mods--verbose:
799 file_mods--verbose:
799 file_mods--verbose:
800 file_mods--verbose:
800 file_mods--verbose:
801 file_mods--debug:
801 file_mods--debug:
802 file_mods--debug:
802 file_mods--debug:
803 file_mods--debug:
803 file_mods--debug:
804 file_mods--debug:
804 file_mods--debug:
805 file_mods--debug:
805 file_mods--debug:
806 file_mods--debug: c
806 file_mods--debug: c
807 file_mods--debug:
807 file_mods--debug:
808 file_mods--debug:
808 file_mods--debug:
809 file_mods--debug:
809 file_mods--debug:
810 file_copies: fourth (second)
810 file_copies: fourth (second)
811 file_copies:
811 file_copies:
812 file_copies:
812 file_copies:
813 file_copies:
813 file_copies:
814 file_copies:
814 file_copies:
815 file_copies:
815 file_copies:
816 file_copies:
816 file_copies:
817 file_copies:
817 file_copies:
818 file_copies:
818 file_copies:
819 file_copies--verbose: fourth (second)
819 file_copies--verbose: fourth (second)
820 file_copies--verbose:
820 file_copies--verbose:
821 file_copies--verbose:
821 file_copies--verbose:
822 file_copies--verbose:
822 file_copies--verbose:
823 file_copies--verbose:
823 file_copies--verbose:
824 file_copies--verbose:
824 file_copies--verbose:
825 file_copies--verbose:
825 file_copies--verbose:
826 file_copies--verbose:
826 file_copies--verbose:
827 file_copies--verbose:
827 file_copies--verbose:
828 file_copies--debug: fourth (second)
828 file_copies--debug: fourth (second)
829 file_copies--debug:
829 file_copies--debug:
830 file_copies--debug:
830 file_copies--debug:
831 file_copies--debug:
831 file_copies--debug:
832 file_copies--debug:
832 file_copies--debug:
833 file_copies--debug:
833 file_copies--debug:
834 file_copies--debug:
834 file_copies--debug:
835 file_copies--debug:
835 file_copies--debug:
836 file_copies--debug:
836 file_copies--debug:
837 file_copies_switch:
837 file_copies_switch:
838 file_copies_switch:
838 file_copies_switch:
839 file_copies_switch:
839 file_copies_switch:
840 file_copies_switch:
840 file_copies_switch:
841 file_copies_switch:
841 file_copies_switch:
842 file_copies_switch:
842 file_copies_switch:
843 file_copies_switch:
843 file_copies_switch:
844 file_copies_switch:
844 file_copies_switch:
845 file_copies_switch:
845 file_copies_switch:
846 file_copies_switch--verbose:
846 file_copies_switch--verbose:
847 file_copies_switch--verbose:
847 file_copies_switch--verbose:
848 file_copies_switch--verbose:
848 file_copies_switch--verbose:
849 file_copies_switch--verbose:
849 file_copies_switch--verbose:
850 file_copies_switch--verbose:
850 file_copies_switch--verbose:
851 file_copies_switch--verbose:
851 file_copies_switch--verbose:
852 file_copies_switch--verbose:
852 file_copies_switch--verbose:
853 file_copies_switch--verbose:
853 file_copies_switch--verbose:
854 file_copies_switch--verbose:
854 file_copies_switch--verbose:
855 file_copies_switch--debug:
855 file_copies_switch--debug:
856 file_copies_switch--debug:
856 file_copies_switch--debug:
857 file_copies_switch--debug:
857 file_copies_switch--debug:
858 file_copies_switch--debug:
858 file_copies_switch--debug:
859 file_copies_switch--debug:
859 file_copies_switch--debug:
860 file_copies_switch--debug:
860 file_copies_switch--debug:
861 file_copies_switch--debug:
861 file_copies_switch--debug:
862 file_copies_switch--debug:
862 file_copies_switch--debug:
863 file_copies_switch--debug:
863 file_copies_switch--debug:
864 files: fourth second third
864 files: fourth second third
865 files: second
865 files: second
866 files:
866 files:
867 files: d
867 files: d
868 files:
868 files:
869 files: c
869 files: c
870 files: c
870 files: c
871 files: b
871 files: b
872 files: a
872 files: a
873 files--verbose: fourth second third
873 files--verbose: fourth second third
874 files--verbose: second
874 files--verbose: second
875 files--verbose:
875 files--verbose:
876 files--verbose: d
876 files--verbose: d
877 files--verbose:
877 files--verbose:
878 files--verbose: c
878 files--verbose: c
879 files--verbose: c
879 files--verbose: c
880 files--verbose: b
880 files--verbose: b
881 files--verbose: a
881 files--verbose: a
882 files--debug: fourth second third
882 files--debug: fourth second third
883 files--debug: second
883 files--debug: second
884 files--debug:
884 files--debug:
885 files--debug: d
885 files--debug: d
886 files--debug:
886 files--debug:
887 files--debug: c
887 files--debug: c
888 files--debug: c
888 files--debug: c
889 files--debug: b
889 files--debug: b
890 files--debug: a
890 files--debug: a
891 manifest: 6:94961b75a2da
891 manifest: 6:94961b75a2da
892 manifest: 5:f2dbc354b94e
892 manifest: 5:f2dbc354b94e
893 manifest: 4:4dc3def4f9b4
893 manifest: 4:4dc3def4f9b4
894 manifest: 4:4dc3def4f9b4
894 manifest: 4:4dc3def4f9b4
895 manifest: 3:cb5a1327723b
895 manifest: 3:cb5a1327723b
896 manifest: 3:cb5a1327723b
896 manifest: 3:cb5a1327723b
897 manifest: 2:6e0e82995c35
897 manifest: 2:6e0e82995c35
898 manifest: 1:4e8d705b1e53
898 manifest: 1:4e8d705b1e53
899 manifest: 0:a0c8bcbbb45c
899 manifest: 0:a0c8bcbbb45c
900 manifest--verbose: 6:94961b75a2da
900 manifest--verbose: 6:94961b75a2da
901 manifest--verbose: 5:f2dbc354b94e
901 manifest--verbose: 5:f2dbc354b94e
902 manifest--verbose: 4:4dc3def4f9b4
902 manifest--verbose: 4:4dc3def4f9b4
903 manifest--verbose: 4:4dc3def4f9b4
903 manifest--verbose: 4:4dc3def4f9b4
904 manifest--verbose: 3:cb5a1327723b
904 manifest--verbose: 3:cb5a1327723b
905 manifest--verbose: 3:cb5a1327723b
905 manifest--verbose: 3:cb5a1327723b
906 manifest--verbose: 2:6e0e82995c35
906 manifest--verbose: 2:6e0e82995c35
907 manifest--verbose: 1:4e8d705b1e53
907 manifest--verbose: 1:4e8d705b1e53
908 manifest--verbose: 0:a0c8bcbbb45c
908 manifest--verbose: 0:a0c8bcbbb45c
909 manifest--debug: 6:94961b75a2da554b4df6fb599e5bfc7d48de0c64
909 manifest--debug: 6:94961b75a2da554b4df6fb599e5bfc7d48de0c64
910 manifest--debug: 5:f2dbc354b94e5ec0b4f10680ee0cee816101d0bf
910 manifest--debug: 5:f2dbc354b94e5ec0b4f10680ee0cee816101d0bf
911 manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
911 manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
912 manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
912 manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
913 manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc
913 manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc
914 manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc
914 manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc
915 manifest--debug: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1
915 manifest--debug: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1
916 manifest--debug: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55
916 manifest--debug: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55
917 manifest--debug: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
917 manifest--debug: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
918 node: 95c24699272ef57d062b8bccc32c878bf841784a
918 node: 95c24699272ef57d062b8bccc32c878bf841784a
919 node: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
919 node: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
920 node: d41e714fe50d9e4a5f11b4d595d543481b5f980b
920 node: d41e714fe50d9e4a5f11b4d595d543481b5f980b
921 node: 13207e5a10d9fd28ec424934298e176197f2c67f
921 node: 13207e5a10d9fd28ec424934298e176197f2c67f
922 node: bbe44766e73d5f11ed2177f1838de10c53ef3e74
922 node: bbe44766e73d5f11ed2177f1838de10c53ef3e74
923 node: 10e46f2dcbf4823578cf180f33ecf0b957964c47
923 node: 10e46f2dcbf4823578cf180f33ecf0b957964c47
924 node: 97054abb4ab824450e9164180baf491ae0078465
924 node: 97054abb4ab824450e9164180baf491ae0078465
925 node: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
925 node: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
926 node: 1e4e1b8f71e05681d422154f5421e385fec3454f
926 node: 1e4e1b8f71e05681d422154f5421e385fec3454f
927 node--verbose: 95c24699272ef57d062b8bccc32c878bf841784a
927 node--verbose: 95c24699272ef57d062b8bccc32c878bf841784a
928 node--verbose: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
928 node--verbose: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
929 node--verbose: d41e714fe50d9e4a5f11b4d595d543481b5f980b
929 node--verbose: d41e714fe50d9e4a5f11b4d595d543481b5f980b
930 node--verbose: 13207e5a10d9fd28ec424934298e176197f2c67f
930 node--verbose: 13207e5a10d9fd28ec424934298e176197f2c67f
931 node--verbose: bbe44766e73d5f11ed2177f1838de10c53ef3e74
931 node--verbose: bbe44766e73d5f11ed2177f1838de10c53ef3e74
932 node--verbose: 10e46f2dcbf4823578cf180f33ecf0b957964c47
932 node--verbose: 10e46f2dcbf4823578cf180f33ecf0b957964c47
933 node--verbose: 97054abb4ab824450e9164180baf491ae0078465
933 node--verbose: 97054abb4ab824450e9164180baf491ae0078465
934 node--verbose: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
934 node--verbose: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
935 node--verbose: 1e4e1b8f71e05681d422154f5421e385fec3454f
935 node--verbose: 1e4e1b8f71e05681d422154f5421e385fec3454f
936 node--debug: 95c24699272ef57d062b8bccc32c878bf841784a
936 node--debug: 95c24699272ef57d062b8bccc32c878bf841784a
937 node--debug: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
937 node--debug: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
938 node--debug: d41e714fe50d9e4a5f11b4d595d543481b5f980b
938 node--debug: d41e714fe50d9e4a5f11b4d595d543481b5f980b
939 node--debug: 13207e5a10d9fd28ec424934298e176197f2c67f
939 node--debug: 13207e5a10d9fd28ec424934298e176197f2c67f
940 node--debug: bbe44766e73d5f11ed2177f1838de10c53ef3e74
940 node--debug: bbe44766e73d5f11ed2177f1838de10c53ef3e74
941 node--debug: 10e46f2dcbf4823578cf180f33ecf0b957964c47
941 node--debug: 10e46f2dcbf4823578cf180f33ecf0b957964c47
942 node--debug: 97054abb4ab824450e9164180baf491ae0078465
942 node--debug: 97054abb4ab824450e9164180baf491ae0078465
943 node--debug: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
943 node--debug: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
944 node--debug: 1e4e1b8f71e05681d422154f5421e385fec3454f
944 node--debug: 1e4e1b8f71e05681d422154f5421e385fec3454f
945 parents:
945 parents:
946 parents: -1:000000000000
946 parents: -1:000000000000
947 parents: 5:13207e5a10d9 4:bbe44766e73d
947 parents: 5:13207e5a10d9 4:bbe44766e73d
948 parents: 3:10e46f2dcbf4
948 parents: 3:10e46f2dcbf4
949 parents:
949 parents:
950 parents:
950 parents:
951 parents:
951 parents:
952 parents:
952 parents:
953 parents:
953 parents:
954 parents--verbose:
954 parents--verbose:
955 parents--verbose: -1:000000000000
955 parents--verbose: -1:000000000000
956 parents--verbose: 5:13207e5a10d9 4:bbe44766e73d
956 parents--verbose: 5:13207e5a10d9 4:bbe44766e73d
957 parents--verbose: 3:10e46f2dcbf4
957 parents--verbose: 3:10e46f2dcbf4
958 parents--verbose:
958 parents--verbose:
959 parents--verbose:
959 parents--verbose:
960 parents--verbose:
960 parents--verbose:
961 parents--verbose:
961 parents--verbose:
962 parents--verbose:
962 parents--verbose:
963 parents--debug: 7:29114dbae42b9f078cf2714dbe3a86bba8ec7453 -1:0000000000000000000000000000000000000000
963 parents--debug: 7:29114dbae42b9f078cf2714dbe3a86bba8ec7453 -1:0000000000000000000000000000000000000000
964 parents--debug: -1:0000000000000000000000000000000000000000 -1:0000000000000000000000000000000000000000
964 parents--debug: -1:0000000000000000000000000000000000000000 -1:0000000000000000000000000000000000000000
965 parents--debug: 5:13207e5a10d9fd28ec424934298e176197f2c67f 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74
965 parents--debug: 5:13207e5a10d9fd28ec424934298e176197f2c67f 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74
966 parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000
966 parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000
967 parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000
967 parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000
968 parents--debug: 2:97054abb4ab824450e9164180baf491ae0078465 -1:0000000000000000000000000000000000000000
968 parents--debug: 2:97054abb4ab824450e9164180baf491ae0078465 -1:0000000000000000000000000000000000000000
969 parents--debug: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 -1:0000000000000000000000000000000000000000
969 parents--debug: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 -1:0000000000000000000000000000000000000000
970 parents--debug: 0:1e4e1b8f71e05681d422154f5421e385fec3454f -1:0000000000000000000000000000000000000000
970 parents--debug: 0:1e4e1b8f71e05681d422154f5421e385fec3454f -1:0000000000000000000000000000000000000000
971 parents--debug: -1:0000000000000000000000000000000000000000 -1:0000000000000000000000000000000000000000
971 parents--debug: -1:0000000000000000000000000000000000000000 -1:0000000000000000000000000000000000000000
972 rev: 8
972 rev: 8
973 rev: 7
973 rev: 7
974 rev: 6
974 rev: 6
975 rev: 5
975 rev: 5
976 rev: 4
976 rev: 4
977 rev: 3
977 rev: 3
978 rev: 2
978 rev: 2
979 rev: 1
979 rev: 1
980 rev: 0
980 rev: 0
981 rev--verbose: 8
981 rev--verbose: 8
982 rev--verbose: 7
982 rev--verbose: 7
983 rev--verbose: 6
983 rev--verbose: 6
984 rev--verbose: 5
984 rev--verbose: 5
985 rev--verbose: 4
985 rev--verbose: 4
986 rev--verbose: 3
986 rev--verbose: 3
987 rev--verbose: 2
987 rev--verbose: 2
988 rev--verbose: 1
988 rev--verbose: 1
989 rev--verbose: 0
989 rev--verbose: 0
990 rev--debug: 8
990 rev--debug: 8
991 rev--debug: 7
991 rev--debug: 7
992 rev--debug: 6
992 rev--debug: 6
993 rev--debug: 5
993 rev--debug: 5
994 rev--debug: 4
994 rev--debug: 4
995 rev--debug: 3
995 rev--debug: 3
996 rev--debug: 2
996 rev--debug: 2
997 rev--debug: 1
997 rev--debug: 1
998 rev--debug: 0
998 rev--debug: 0
999 tags: tip
999 tags: tip
1000 tags:
1000 tags:
1001 tags:
1001 tags:
1002 tags:
1002 tags:
1003 tags:
1003 tags:
1004 tags:
1004 tags:
1005 tags:
1005 tags:
1006 tags:
1006 tags:
1007 tags:
1007 tags:
1008 tags--verbose: tip
1008 tags--verbose: tip
1009 tags--verbose:
1009 tags--verbose:
1010 tags--verbose:
1010 tags--verbose:
1011 tags--verbose:
1011 tags--verbose:
1012 tags--verbose:
1012 tags--verbose:
1013 tags--verbose:
1013 tags--verbose:
1014 tags--verbose:
1014 tags--verbose:
1015 tags--verbose:
1015 tags--verbose:
1016 tags--verbose:
1016 tags--verbose:
1017 tags--debug: tip
1017 tags--debug: tip
1018 tags--debug:
1018 tags--debug:
1019 tags--debug:
1019 tags--debug:
1020 tags--debug:
1020 tags--debug:
1021 tags--debug:
1021 tags--debug:
1022 tags--debug:
1022 tags--debug:
1023 tags--debug:
1023 tags--debug:
1024 tags--debug:
1024 tags--debug:
1025 tags--debug:
1025 tags--debug:
1026 diffstat: 3: +2/-1
1026 diffstat: 3: +2/-1
1027 diffstat: 1: +1/-0
1027 diffstat: 1: +1/-0
1028 diffstat: 0: +0/-0
1028 diffstat: 0: +0/-0
1029 diffstat: 1: +1/-0
1029 diffstat: 1: +1/-0
1030 diffstat: 0: +0/-0
1030 diffstat: 0: +0/-0
1031 diffstat: 1: +1/-0
1031 diffstat: 1: +1/-0
1032 diffstat: 1: +4/-0
1032 diffstat: 1: +4/-0
1033 diffstat: 1: +2/-0
1033 diffstat: 1: +2/-0
1034 diffstat: 1: +1/-0
1034 diffstat: 1: +1/-0
1035 diffstat--verbose: 3: +2/-1
1035 diffstat--verbose: 3: +2/-1
1036 diffstat--verbose: 1: +1/-0
1036 diffstat--verbose: 1: +1/-0
1037 diffstat--verbose: 0: +0/-0
1037 diffstat--verbose: 0: +0/-0
1038 diffstat--verbose: 1: +1/-0
1038 diffstat--verbose: 1: +1/-0
1039 diffstat--verbose: 0: +0/-0
1039 diffstat--verbose: 0: +0/-0
1040 diffstat--verbose: 1: +1/-0
1040 diffstat--verbose: 1: +1/-0
1041 diffstat--verbose: 1: +4/-0
1041 diffstat--verbose: 1: +4/-0
1042 diffstat--verbose: 1: +2/-0
1042 diffstat--verbose: 1: +2/-0
1043 diffstat--verbose: 1: +1/-0
1043 diffstat--verbose: 1: +1/-0
1044 diffstat--debug: 3: +2/-1
1044 diffstat--debug: 3: +2/-1
1045 diffstat--debug: 1: +1/-0
1045 diffstat--debug: 1: +1/-0
1046 diffstat--debug: 0: +0/-0
1046 diffstat--debug: 0: +0/-0
1047 diffstat--debug: 1: +1/-0
1047 diffstat--debug: 1: +1/-0
1048 diffstat--debug: 0: +0/-0
1048 diffstat--debug: 0: +0/-0
1049 diffstat--debug: 1: +1/-0
1049 diffstat--debug: 1: +1/-0
1050 diffstat--debug: 1: +4/-0
1050 diffstat--debug: 1: +4/-0
1051 diffstat--debug: 1: +2/-0
1051 diffstat--debug: 1: +2/-0
1052 diffstat--debug: 1: +1/-0
1052 diffstat--debug: 1: +1/-0
1053 extras: branch=default
1053 extras: branch=default
1054 extras: branch=default
1054 extras: branch=default
1055 extras: branch=default
1055 extras: branch=default
1056 extras: branch=default
1056 extras: branch=default
1057 extras: branch=foo
1057 extras: branch=foo
1058 extras: branch=default
1058 extras: branch=default
1059 extras: branch=default
1059 extras: branch=default
1060 extras: branch=default
1060 extras: branch=default
1061 extras: branch=default
1061 extras: branch=default
1062 extras--verbose: branch=default
1062 extras--verbose: branch=default
1063 extras--verbose: branch=default
1063 extras--verbose: branch=default
1064 extras--verbose: branch=default
1064 extras--verbose: branch=default
1065 extras--verbose: branch=default
1065 extras--verbose: branch=default
1066 extras--verbose: branch=foo
1066 extras--verbose: branch=foo
1067 extras--verbose: branch=default
1067 extras--verbose: branch=default
1068 extras--verbose: branch=default
1068 extras--verbose: branch=default
1069 extras--verbose: branch=default
1069 extras--verbose: branch=default
1070 extras--verbose: branch=default
1070 extras--verbose: branch=default
1071 extras--debug: branch=default
1071 extras--debug: branch=default
1072 extras--debug: branch=default
1072 extras--debug: branch=default
1073 extras--debug: branch=default
1073 extras--debug: branch=default
1074 extras--debug: branch=default
1074 extras--debug: branch=default
1075 extras--debug: branch=foo
1075 extras--debug: branch=foo
1076 extras--debug: branch=default
1076 extras--debug: branch=default
1077 extras--debug: branch=default
1077 extras--debug: branch=default
1078 extras--debug: branch=default
1078 extras--debug: branch=default
1079 extras--debug: branch=default
1079 extras--debug: branch=default
1080
1080
1081
1081
1082 Filters work:
1082 Filters work:
1083
1083
1084 $ hg log --template '{author|domain}\n'
1084 $ hg log --template '{author|domain}\n'
1085
1085
1086 hostname
1086 hostname
1087
1087
1088
1088
1089
1089
1090
1090
1091 place
1091 place
1092 place
1092 place
1093 hostname
1093 hostname
1094
1094
1095 $ hg log --template '{author|person}\n'
1095 $ hg log --template '{author|person}\n'
1096 test
1096 test
1097 User Name
1097 User Name
1098 person
1098 person
1099 person
1099 person
1100 person
1100 person
1101 person
1101 person
1102 other
1102 other
1103 A. N. Other
1103 A. N. Other
1104 User Name
1104 User Name
1105
1105
1106 $ hg log --template '{author|user}\n'
1106 $ hg log --template '{author|user}\n'
1107 test
1107 test
1108 user
1108 user
1109 person
1109 person
1110 person
1110 person
1111 person
1111 person
1112 person
1112 person
1113 other
1113 other
1114 other
1114 other
1115 user
1115 user
1116
1116
1117 $ hg log --template '{date|age}\n' > /dev/null || exit 1
1118
1119 $ hg log -l1 --template '{date|age}\n'
1120 7 years from now
1121 $ hg log --template '{date|date}\n'
1117 $ hg log --template '{date|date}\n'
1122 Wed Jan 01 10:01:00 2020 +0000
1118 Wed Jan 01 10:01:00 2020 +0000
1123 Mon Jan 12 13:46:40 1970 +0000
1119 Mon Jan 12 13:46:40 1970 +0000
1124 Sun Jan 18 08:40:01 1970 +0000
1120 Sun Jan 18 08:40:01 1970 +0000
1125 Sun Jan 18 08:40:00 1970 +0000
1121 Sun Jan 18 08:40:00 1970 +0000
1126 Sat Jan 17 04:53:20 1970 +0000
1122 Sat Jan 17 04:53:20 1970 +0000
1127 Fri Jan 16 01:06:40 1970 +0000
1123 Fri Jan 16 01:06:40 1970 +0000
1128 Wed Jan 14 21:20:00 1970 +0000
1124 Wed Jan 14 21:20:00 1970 +0000
1129 Tue Jan 13 17:33:20 1970 +0000
1125 Tue Jan 13 17:33:20 1970 +0000
1130 Mon Jan 12 13:46:40 1970 +0000
1126 Mon Jan 12 13:46:40 1970 +0000
1131
1127
1132 $ hg log --template '{date|isodate}\n'
1128 $ hg log --template '{date|isodate}\n'
1133 2020-01-01 10:01 +0000
1129 2020-01-01 10:01 +0000
1134 1970-01-12 13:46 +0000
1130 1970-01-12 13:46 +0000
1135 1970-01-18 08:40 +0000
1131 1970-01-18 08:40 +0000
1136 1970-01-18 08:40 +0000
1132 1970-01-18 08:40 +0000
1137 1970-01-17 04:53 +0000
1133 1970-01-17 04:53 +0000
1138 1970-01-16 01:06 +0000
1134 1970-01-16 01:06 +0000
1139 1970-01-14 21:20 +0000
1135 1970-01-14 21:20 +0000
1140 1970-01-13 17:33 +0000
1136 1970-01-13 17:33 +0000
1141 1970-01-12 13:46 +0000
1137 1970-01-12 13:46 +0000
1142
1138
1143 $ hg log --template '{date|isodatesec}\n'
1139 $ hg log --template '{date|isodatesec}\n'
1144 2020-01-01 10:01:00 +0000
1140 2020-01-01 10:01:00 +0000
1145 1970-01-12 13:46:40 +0000
1141 1970-01-12 13:46:40 +0000
1146 1970-01-18 08:40:01 +0000
1142 1970-01-18 08:40:01 +0000
1147 1970-01-18 08:40:00 +0000
1143 1970-01-18 08:40:00 +0000
1148 1970-01-17 04:53:20 +0000
1144 1970-01-17 04:53:20 +0000
1149 1970-01-16 01:06:40 +0000
1145 1970-01-16 01:06:40 +0000
1150 1970-01-14 21:20:00 +0000
1146 1970-01-14 21:20:00 +0000
1151 1970-01-13 17:33:20 +0000
1147 1970-01-13 17:33:20 +0000
1152 1970-01-12 13:46:40 +0000
1148 1970-01-12 13:46:40 +0000
1153
1149
1154 $ hg log --template '{date|rfc822date}\n'
1150 $ hg log --template '{date|rfc822date}\n'
1155 Wed, 01 Jan 2020 10:01:00 +0000
1151 Wed, 01 Jan 2020 10:01:00 +0000
1156 Mon, 12 Jan 1970 13:46:40 +0000
1152 Mon, 12 Jan 1970 13:46:40 +0000
1157 Sun, 18 Jan 1970 08:40:01 +0000
1153 Sun, 18 Jan 1970 08:40:01 +0000
1158 Sun, 18 Jan 1970 08:40:00 +0000
1154 Sun, 18 Jan 1970 08:40:00 +0000
1159 Sat, 17 Jan 1970 04:53:20 +0000
1155 Sat, 17 Jan 1970 04:53:20 +0000
1160 Fri, 16 Jan 1970 01:06:40 +0000
1156 Fri, 16 Jan 1970 01:06:40 +0000
1161 Wed, 14 Jan 1970 21:20:00 +0000
1157 Wed, 14 Jan 1970 21:20:00 +0000
1162 Tue, 13 Jan 1970 17:33:20 +0000
1158 Tue, 13 Jan 1970 17:33:20 +0000
1163 Mon, 12 Jan 1970 13:46:40 +0000
1159 Mon, 12 Jan 1970 13:46:40 +0000
1164
1160
1165 $ hg log --template '{desc|firstline}\n'
1161 $ hg log --template '{desc|firstline}\n'
1166 third
1162 third
1167 second
1163 second
1168 merge
1164 merge
1169 new head
1165 new head
1170 new branch
1166 new branch
1171 no user, no domain
1167 no user, no domain
1172 no person
1168 no person
1173 other 1
1169 other 1
1174 line 1
1170 line 1
1175
1171
1176 $ hg log --template '{node|short}\n'
1172 $ hg log --template '{node|short}\n'
1177 95c24699272e
1173 95c24699272e
1178 29114dbae42b
1174 29114dbae42b
1179 d41e714fe50d
1175 d41e714fe50d
1180 13207e5a10d9
1176 13207e5a10d9
1181 bbe44766e73d
1177 bbe44766e73d
1182 10e46f2dcbf4
1178 10e46f2dcbf4
1183 97054abb4ab8
1179 97054abb4ab8
1184 b608e9d1a3f0
1180 b608e9d1a3f0
1185 1e4e1b8f71e0
1181 1e4e1b8f71e0
1186
1182
1187 $ hg log --template '<changeset author="{author|xmlescape}"/>\n'
1183 $ hg log --template '<changeset author="{author|xmlescape}"/>\n'
1188 <changeset author="test"/>
1184 <changeset author="test"/>
1189 <changeset author="User Name &lt;user@hostname&gt;"/>
1185 <changeset author="User Name &lt;user@hostname&gt;"/>
1190 <changeset author="person"/>
1186 <changeset author="person"/>
1191 <changeset author="person"/>
1187 <changeset author="person"/>
1192 <changeset author="person"/>
1188 <changeset author="person"/>
1193 <changeset author="person"/>
1189 <changeset author="person"/>
1194 <changeset author="other@place"/>
1190 <changeset author="other@place"/>
1195 <changeset author="A. N. Other &lt;other@place&gt;"/>
1191 <changeset author="A. N. Other &lt;other@place&gt;"/>
1196 <changeset author="User Name &lt;user@hostname&gt;"/>
1192 <changeset author="User Name &lt;user@hostname&gt;"/>
1197
1193
1198 $ hg log --template '{rev}: {children}\n'
1194 $ hg log --template '{rev}: {children}\n'
1199 8:
1195 8:
1200 7: 8:95c24699272e
1196 7: 8:95c24699272e
1201 6:
1197 6:
1202 5: 6:d41e714fe50d
1198 5: 6:d41e714fe50d
1203 4: 6:d41e714fe50d
1199 4: 6:d41e714fe50d
1204 3: 4:bbe44766e73d 5:13207e5a10d9
1200 3: 4:bbe44766e73d 5:13207e5a10d9
1205 2: 3:10e46f2dcbf4
1201 2: 3:10e46f2dcbf4
1206 1: 2:97054abb4ab8
1202 1: 2:97054abb4ab8
1207 0: 1:b608e9d1a3f0
1203 0: 1:b608e9d1a3f0
1208
1204
1209 Formatnode filter works:
1205 Formatnode filter works:
1210
1206
1211 $ hg -q log -r 0 --template '{node|formatnode}\n'
1207 $ hg -q log -r 0 --template '{node|formatnode}\n'
1212 1e4e1b8f71e0
1208 1e4e1b8f71e0
1213
1209
1214 $ hg log -r 0 --template '{node|formatnode}\n'
1210 $ hg log -r 0 --template '{node|formatnode}\n'
1215 1e4e1b8f71e0
1211 1e4e1b8f71e0
1216
1212
1217 $ hg -v log -r 0 --template '{node|formatnode}\n'
1213 $ hg -v log -r 0 --template '{node|formatnode}\n'
1218 1e4e1b8f71e0
1214 1e4e1b8f71e0
1219
1215
1220 $ hg --debug log -r 0 --template '{node|formatnode}\n'
1216 $ hg --debug log -r 0 --template '{node|formatnode}\n'
1221 1e4e1b8f71e05681d422154f5421e385fec3454f
1217 1e4e1b8f71e05681d422154f5421e385fec3454f
1222
1218
1219 Age filter:
1220
1221 $ hg log --template '{date|age}\n' > /dev/null || exit 1
1222
1223 >>> from datetime import datetime
1224 >>> fp = open('a', 'w')
1225 >>> fp.write(str(datetime.now().year + 8) + '-01-01 00:00')
1226 >>> fp.close()
1227 $ hg add a
1228 $ hg commit -m future -d "`cat a`"
1229
1230 $ hg log -l1 --template '{date|age}\n'
1231 7 years from now
1232
1223 Error on syntax:
1233 Error on syntax:
1224
1234
1225 $ echo 'x = "f' >> t
1235 $ echo 'x = "f' >> t
1226 $ hg log
1236 $ hg log
1227 abort: t:3: unmatched quotes
1237 abort: t:3: unmatched quotes
1228 [255]
1238 [255]
1229
1239
1230 $ cd ..
1240 $ cd ..
1231
1241
1232
1242
1233 latesttag:
1243 latesttag:
1234
1244
1235 $ hg init latesttag
1245 $ hg init latesttag
1236 $ cd latesttag
1246 $ cd latesttag
1237
1247
1238 $ echo a > file
1248 $ echo a > file
1239 $ hg ci -Am a -d '0 0'
1249 $ hg ci -Am a -d '0 0'
1240 adding file
1250 adding file
1241
1251
1242 $ echo b >> file
1252 $ echo b >> file
1243 $ hg ci -m b -d '1 0'
1253 $ hg ci -m b -d '1 0'
1244
1254
1245 $ echo c >> head1
1255 $ echo c >> head1
1246 $ hg ci -Am h1c -d '2 0'
1256 $ hg ci -Am h1c -d '2 0'
1247 adding head1
1257 adding head1
1248
1258
1249 $ hg update -q 1
1259 $ hg update -q 1
1250 $ echo d >> head2
1260 $ echo d >> head2
1251 $ hg ci -Am h2d -d '3 0'
1261 $ hg ci -Am h2d -d '3 0'
1252 adding head2
1262 adding head2
1253 created new head
1263 created new head
1254
1264
1255 $ echo e >> head2
1265 $ echo e >> head2
1256 $ hg ci -m h2e -d '4 0'
1266 $ hg ci -m h2e -d '4 0'
1257
1267
1258 $ hg merge -q
1268 $ hg merge -q
1259 $ hg ci -m merge -d '5 0'
1269 $ hg ci -m merge -d '5 0'
1260
1270
1261 No tag set:
1271 No tag set:
1262
1272
1263 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1273 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1264 5: null+5
1274 5: null+5
1265 4: null+4
1275 4: null+4
1266 3: null+3
1276 3: null+3
1267 2: null+3
1277 2: null+3
1268 1: null+2
1278 1: null+2
1269 0: null+1
1279 0: null+1
1270
1280
1271 One common tag: longuest path wins:
1281 One common tag: longuest path wins:
1272
1282
1273 $ hg tag -r 1 -m t1 -d '6 0' t1
1283 $ hg tag -r 1 -m t1 -d '6 0' t1
1274 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1284 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1275 6: t1+4
1285 6: t1+4
1276 5: t1+3
1286 5: t1+3
1277 4: t1+2
1287 4: t1+2
1278 3: t1+1
1288 3: t1+1
1279 2: t1+1
1289 2: t1+1
1280 1: t1+0
1290 1: t1+0
1281 0: null+1
1291 0: null+1
1282
1292
1283 One ancestor tag: more recent wins:
1293 One ancestor tag: more recent wins:
1284
1294
1285 $ hg tag -r 2 -m t2 -d '7 0' t2
1295 $ hg tag -r 2 -m t2 -d '7 0' t2
1286 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1296 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1287 7: t2+3
1297 7: t2+3
1288 6: t2+2
1298 6: t2+2
1289 5: t2+1
1299 5: t2+1
1290 4: t1+2
1300 4: t1+2
1291 3: t1+1
1301 3: t1+1
1292 2: t2+0
1302 2: t2+0
1293 1: t1+0
1303 1: t1+0
1294 0: null+1
1304 0: null+1
1295
1305
1296 Two branch tags: more recent wins:
1306 Two branch tags: more recent wins:
1297
1307
1298 $ hg tag -r 3 -m t3 -d '8 0' t3
1308 $ hg tag -r 3 -m t3 -d '8 0' t3
1299 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1309 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1300 8: t3+5
1310 8: t3+5
1301 7: t3+4
1311 7: t3+4
1302 6: t3+3
1312 6: t3+3
1303 5: t3+2
1313 5: t3+2
1304 4: t3+1
1314 4: t3+1
1305 3: t3+0
1315 3: t3+0
1306 2: t2+0
1316 2: t2+0
1307 1: t1+0
1317 1: t1+0
1308 0: null+1
1318 0: null+1
1309
1319
1310 Merged tag overrides:
1320 Merged tag overrides:
1311
1321
1312 $ hg tag -r 5 -m t5 -d '9 0' t5
1322 $ hg tag -r 5 -m t5 -d '9 0' t5
1313 $ hg tag -r 3 -m at3 -d '10 0' at3
1323 $ hg tag -r 3 -m at3 -d '10 0' at3
1314 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1324 $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
1315 10: t5+5
1325 10: t5+5
1316 9: t5+4
1326 9: t5+4
1317 8: t5+3
1327 8: t5+3
1318 7: t5+2
1328 7: t5+2
1319 6: t5+1
1329 6: t5+1
1320 5: t5+0
1330 5: t5+0
1321 4: at3:t3+1
1331 4: at3:t3+1
1322 3: at3:t3+0
1332 3: at3:t3+0
1323 2: t2+0
1333 2: t2+0
1324 1: t1+0
1334 1: t1+0
1325 0: null+1
1335 0: null+1
1326
1336
1327 $ cd ..
1337 $ cd ..
1328
1338
1329
1339
1330 Style path expansion: issue1948 - ui.style option doesn't work on OSX
1340 Style path expansion: issue1948 - ui.style option doesn't work on OSX
1331 if it is a relative path
1341 if it is a relative path
1332
1342
1333 $ mkdir -p home/styles
1343 $ mkdir -p home/styles
1334
1344
1335 $ cat > home/styles/teststyle <<EOF
1345 $ cat > home/styles/teststyle <<EOF
1336 > changeset = 'test {rev}:{node|short}\n'
1346 > changeset = 'test {rev}:{node|short}\n'
1337 > EOF
1347 > EOF
1338
1348
1339 $ HOME=`pwd`/home; export HOME
1349 $ HOME=`pwd`/home; export HOME
1340
1350
1341 $ cat > latesttag/.hg/hgrc <<EOF
1351 $ cat > latesttag/.hg/hgrc <<EOF
1342 > [ui]
1352 > [ui]
1343 > style = ~/styles/teststyle
1353 > style = ~/styles/teststyle
1344 > EOF
1354 > EOF
1345
1355
1346 $ hg -R latesttag tip
1356 $ hg -R latesttag tip
1347 test 10:dee8f28249af
1357 test 10:dee8f28249af
1348
1358
1349 Test recursive showlist template (issue1989):
1359 Test recursive showlist template (issue1989):
1350
1360
1351 $ cat > style1989 <<EOF
1361 $ cat > style1989 <<EOF
1352 > changeset = '{file_mods}{manifest}{extras}'
1362 > changeset = '{file_mods}{manifest}{extras}'
1353 > file_mod = 'M|{author|person}\n'
1363 > file_mod = 'M|{author|person}\n'
1354 > manifest = '{rev},{author}\n'
1364 > manifest = '{rev},{author}\n'
1355 > extra = '{key}: {author}\n'
1365 > extra = '{key}: {author}\n'
1356 > EOF
1366 > EOF
1357
1367
1358 $ hg -R latesttag log -r tip --style=style1989
1368 $ hg -R latesttag log -r tip --style=style1989
1359 M|test
1369 M|test
1360 10,test
1370 10,test
1361 branch: test
1371 branch: test
1362
1372
General Comments 0
You need to be logged in to leave comments. Login now