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