Mercurial > hg
comparison tests/test-devel-warnings.t @ 47833:d704aea4efa6 stable
pyoxidized: adapt test-devel-warnings.t
Differential Revision: https://phab.mercurial-scm.org/D11284
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 17 Aug 2021 20:48:52 +0200 |
parents | 49b6910217f9 |
children | 011f5218ff2d |
comparison
equal
deleted
inserted
replaced
47832:7835f2696de8 | 47833:d704aea4efa6 |
---|---|
96 > all=0 | 96 > all=0 |
97 > check-locks=1 | 97 > check-locks=1 |
98 > EOF | 98 > EOF |
99 $ hg buggylocking | 99 $ hg buggylocking |
100 devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:* (buggylocking) (glob) | 100 devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:* (buggylocking) (glob) |
101 #if no-chg | 101 #if no-chg no-pyoxidizer |
102 $ hg buggylocking --traceback | 102 $ hg buggylocking --traceback |
103 devel-warn: "wlock" acquired after "lock" at: | 103 devel-warn: "wlock" acquired after "lock" at: |
104 */hg:* in <module> (glob) (?) | 104 */hg:* in <module> (glob) (?) |
105 */mercurial/dispatch.py:* in run (glob) | 105 */mercurial/dispatch.py:* in run (glob) |
106 */mercurial/dispatch.py:* in dispatch (glob) | 106 */mercurial/dispatch.py:* in dispatch (glob) |
113 */mercurial/dispatch.py:* in runcommand (glob) | 113 */mercurial/dispatch.py:* in runcommand (glob) |
114 */mercurial/dispatch.py:* in _runcommand (glob) | 114 */mercurial/dispatch.py:* in _runcommand (glob) |
115 */mercurial/dispatch.py:* in <lambda> (glob) | 115 */mercurial/dispatch.py:* in <lambda> (glob) |
116 */mercurial/util.py:* in check (glob) | 116 */mercurial/util.py:* in check (glob) |
117 $TESTTMP/buggylocking.py:* in buggylocking (glob) | 117 $TESTTMP/buggylocking.py:* in buggylocking (glob) |
118 #else | 118 #endif |
119 #if chg no-pyoxidizer | |
119 $ hg buggylocking --traceback | 120 $ hg buggylocking --traceback |
120 devel-warn: "wlock" acquired after "lock" at: | 121 devel-warn: "wlock" acquired after "lock" at: |
121 */hg:* in <module> (glob) (?) | 122 */hg:* in <module> (glob) (?) |
122 */mercurial/dispatch.py:* in run (glob) | 123 */mercurial/dispatch.py:* in run (glob) |
123 */mercurial/dispatch.py:* in dispatch (glob) | 124 */mercurial/dispatch.py:* in dispatch (glob) |
154 */mercurial/dispatch.py:* in _runcommand (glob) | 155 */mercurial/dispatch.py:* in _runcommand (glob) |
155 */mercurial/dispatch.py:* in <lambda> (glob) | 156 */mercurial/dispatch.py:* in <lambda> (glob) |
156 */mercurial/util.py:* in check (glob) | 157 */mercurial/util.py:* in check (glob) |
157 $TESTTMP/buggylocking.py:* in buggylocking (glob) | 158 $TESTTMP/buggylocking.py:* in buggylocking (glob) |
158 #endif | 159 #endif |
160 #if pyoxidizer | |
161 $ hg buggylocking --traceback | |
162 devel-warn: "wlock" acquired after "lock" at: | |
163 <string>:* (glob) | |
164 mercurial.dispatch:* in run (glob) | |
165 mercurial.dispatch:* in dispatch (glob) | |
166 mercurial.dispatch:* in _rundispatch (glob) | |
167 mercurial.dispatch:* in _runcatch (glob) | |
168 mercurial.dispatch:* in _callcatch (glob) | |
169 mercurial.scmutil:* in callcatch (glob) | |
170 mercurial.dispatch:* in _runcatchfunc (glob) | |
171 mercurial.dispatch:* in _dispatch (glob) | |
172 mercurial.dispatch:* in runcommand (glob) | |
173 mercurial.dispatch:* in _runcommand (glob) | |
174 mercurial.dispatch:* in <lambda> (glob) | |
175 mercurial.util:* in check (glob) | |
176 $TESTTMP/buggylocking.py:* in buggylocking (glob) | |
177 #endif | |
159 $ hg properlocking | 178 $ hg properlocking |
160 $ hg nowaitlocking | 179 $ hg nowaitlocking |
161 | 180 |
162 Writing without lock | 181 Writing without lock |
163 | 182 |
178 | 197 |
179 $ hg oldanddeprecated | 198 $ hg oldanddeprecated |
180 devel-warn: foorbar is deprecated, go shopping | 199 devel-warn: foorbar is deprecated, go shopping |
181 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) | 200 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) |
182 | 201 |
183 #if no-chg | 202 #if no-chg no-pyoxidizer |
184 $ hg oldanddeprecated --traceback | 203 $ hg oldanddeprecated --traceback |
185 devel-warn: foorbar is deprecated, go shopping | 204 devel-warn: foorbar is deprecated, go shopping |
186 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: | 205 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: |
187 */hg:* in <module> (glob) (?) | 206 */hg:* in <module> (glob) (?) |
188 */mercurial/dispatch.py:* in run (glob) | 207 */mercurial/dispatch.py:* in run (glob) |
196 */mercurial/dispatch.py:* in runcommand (glob) | 215 */mercurial/dispatch.py:* in runcommand (glob) |
197 */mercurial/dispatch.py:* in _runcommand (glob) | 216 */mercurial/dispatch.py:* in _runcommand (glob) |
198 */mercurial/dispatch.py:* in <lambda> (glob) | 217 */mercurial/dispatch.py:* in <lambda> (glob) |
199 */mercurial/util.py:* in check (glob) | 218 */mercurial/util.py:* in check (glob) |
200 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | 219 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) |
201 #else | 220 #endif |
221 #if chg no-pyoxidizer | |
202 $ hg oldanddeprecated --traceback | 222 $ hg oldanddeprecated --traceback |
203 devel-warn: foorbar is deprecated, go shopping | 223 devel-warn: foorbar is deprecated, go shopping |
204 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: | 224 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: |
205 */hg:* in <module> (glob) | 225 */hg:* in <module> (glob) |
206 */mercurial/dispatch.py:* in run (glob) | 226 */mercurial/dispatch.py:* in run (glob) |
238 */mercurial/dispatch.py:* in _runcommand (glob) | 258 */mercurial/dispatch.py:* in _runcommand (glob) |
239 */mercurial/dispatch.py:* in <lambda> (glob) | 259 */mercurial/dispatch.py:* in <lambda> (glob) |
240 */mercurial/util.py:* in check (glob) | 260 */mercurial/util.py:* in check (glob) |
241 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | 261 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) |
242 #endif | 262 #endif |
243 | 263 #if pyoxidizer |
244 #if no-chg | 264 $ hg oldanddeprecated --traceback |
265 devel-warn: foorbar is deprecated, go shopping | |
266 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: | |
267 <string>:* (glob) | |
268 mercurial.dispatch:* in run (glob) | |
269 mercurial.dispatch:* in dispatch (glob) | |
270 mercurial.dispatch:* in _rundispatch (glob) | |
271 mercurial.dispatch:* in _runcatch (glob) | |
272 mercurial.dispatch:* in _callcatch (glob) | |
273 mercurial.scmutil:* in callcatch (glob) | |
274 mercurial.dispatch:* in _runcatchfunc (glob) | |
275 mercurial.dispatch:* in _dispatch (glob) | |
276 mercurial.dispatch:* in runcommand (glob) | |
277 mercurial.dispatch:* in _runcommand (glob) | |
278 mercurial.dispatch:* in <lambda> (glob) | |
279 mercurial.util:* in check (glob) | |
280 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | |
281 #endif | |
282 | |
283 #if no-chg no-pyoxidizer | |
245 $ hg blackbox -l 7 | 284 $ hg blackbox -l 7 |
246 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated | 285 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated |
247 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping | 286 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping |
248 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) | 287 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) |
249 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob) | 288 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob) |
264 */mercurial/dispatch.py:* in <lambda> (glob) | 303 */mercurial/dispatch.py:* in <lambda> (glob) |
265 */mercurial/util.py:* in check (glob) | 304 */mercurial/util.py:* in check (glob) |
266 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | 305 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) |
267 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob) | 306 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob) |
268 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7 | 307 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7 |
269 #else | 308 #endif |
309 #if chg no-pyoxidizer | |
270 $ hg blackbox -l 7 | 310 $ hg blackbox -l 7 |
271 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated | 311 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated |
272 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping | 312 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping |
273 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) | 313 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) |
274 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob) | 314 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob) |
309 */mercurial/dispatch.py:* in _dispatch (glob) | 349 */mercurial/dispatch.py:* in _dispatch (glob) |
310 */mercurial/dispatch.py:* in runcommand (glob) | 350 */mercurial/dispatch.py:* in runcommand (glob) |
311 */mercurial/dispatch.py:* in _runcommand (glob) | 351 */mercurial/dispatch.py:* in _runcommand (glob) |
312 */mercurial/dispatch.py:* in <lambda> (glob) | 352 */mercurial/dispatch.py:* in <lambda> (glob) |
313 */mercurial/util.py:* in check (glob) | 353 */mercurial/util.py:* in check (glob) |
354 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | |
355 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob) | |
356 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7 | |
357 #endif | |
358 #if pyoxidizer | |
359 $ hg blackbox -l 7 | |
360 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated | |
361 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping | |
362 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob) | |
363 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob) | |
364 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback | |
365 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping | |
366 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: | |
367 <string>:* in <module> (glob) | |
368 mercurial.dispatch:* in run (glob) | |
369 mercurial.dispatch:* in dispatch (glob) | |
370 mercurial.dispatch:* in _rundispatch (glob) | |
371 mercurial.dispatch:* in _runcatch (glob) | |
372 mercurial.dispatch:* in _callcatch (glob) | |
373 mercurial.scmutil* in callcatch (glob) | |
374 mercurial.dispatch:* in _runcatchfunc (glob) | |
375 mercurial.dispatch:* in _dispatch (glob) | |
376 mercurial.dispatch:* in runcommand (glob) | |
377 mercurial.dispatch:* in _runcommand (glob) | |
378 mercurial.dispatch:* in <lambda> (glob) | |
379 mercurial.util:* in check (glob) | |
314 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | 380 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) |
315 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob) | 381 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob) |
316 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7 | 382 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7 |
317 #endif | 383 #endif |
318 | 384 |
387 > repo.ui.config(b'test', b'unregistered') | 453 > repo.ui.config(b'test', b'unregistered') |
388 > repo.ui.config(b'unregistered', b'unregistered') | 454 > repo.ui.config(b'unregistered', b'unregistered') |
389 > EOF | 455 > EOF |
390 | 456 |
391 $ hg --config "extensions.buggyconfig=${TESTTMP}/buggyconfig.py" buggyconfig | 457 $ hg --config "extensions.buggyconfig=${TESTTMP}/buggyconfig.py" buggyconfig |
392 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob) | 458 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !) |
393 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob) | 459 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !) |
460 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !) | |
461 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !) | |
394 devel-warn: specifying a mismatched default value for a registered config item: 'ui.quiet' 'True' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) | 462 devel-warn: specifying a mismatched default value for a registered config item: 'ui.quiet' 'True' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) |
395 devel-warn: specifying a mismatched default value for a registered config item: 'ui.interactive' 'False' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) | 463 devel-warn: specifying a mismatched default value for a registered config item: 'ui.interactive' 'False' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) |
396 devel-warn: specifying a mismatched default value for a registered config item: 'test.some' 'bar' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) | 464 devel-warn: specifying a mismatched default value for a registered config item: 'test.some' 'bar' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) |
397 devel-warn: config item requires an explicit default value: 'test.dynamic' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) | 465 devel-warn: config item requires an explicit default value: 'test.dynamic' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) |
398 devel-warn: specifying a mismatched default value for a registered config item: 'test.callable' 'foo' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) | 466 devel-warn: specifying a mismatched default value for a registered config item: 'test.callable' 'foo' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob) |