Show More
@@ -333,9 +333,9 b' def getset(repo, subset, x):' | |||||
333 | # else case should not happen, because all non-func are internal, |
|
333 | # else case should not happen, because all non-func are internal, | |
334 | # ignoring for now. |
|
334 | # ignoring for now. | |
335 | if x[0] == 'func' and x[1][0] == 'symbol' and x[1][1] in symbols: |
|
335 | if x[0] == 'func' and x[1][0] == 'symbol' and x[1][1] in symbols: | |
336 |
repo.ui.de |
|
336 | repo.ui.deprecwarn('revset "%s" use list instead of smartset' | |
337 |
|
|
337 | % x[1][1], | |
338 |
|
|
338 | '3.9') | |
339 | return baseset(s) |
|
339 | return baseset(s) | |
340 |
|
340 | |||
341 | def _getrevsource(repo, r): |
|
341 | def _getrevsource(repo, r): |
@@ -122,7 +122,8 b'' | |||||
122 | [255] |
|
122 | [255] | |
123 |
|
123 | |||
124 | $ hg log -r "oldstyle()" -T '{rev}\n' |
|
124 | $ hg log -r "oldstyle()" -T '{rev}\n' | |
125 |
devel-warn: revset "oldstyle" use list instead of smartset |
|
125 | devel-warn: revset "oldstyle" use list instead of smartset | |
|
126 | (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob) | |||
126 | 0 |
|
127 | 0 | |
127 | $ hg oldanddeprecated |
|
128 | $ hg oldanddeprecated | |
128 | devel-warn: foorbar is deprecated, go shopping |
|
129 | devel-warn: foorbar is deprecated, go shopping | |
@@ -143,7 +144,8 b'' | |||||
143 | */mercurial/util.py:* in check (glob) |
|
144 | */mercurial/util.py:* in check (glob) | |
144 | $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) |
|
145 | $TESTTMP/buggylocking.py:* in oldanddeprecated (glob) | |
145 | $ hg blackbox -l 9 |
|
146 | $ hg blackbox -l 9 | |
146 |
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: revset "oldstyle" use list instead of smartset |
|
147 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: revset "oldstyle" use list instead of smartset | |
|
148 | (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob) | |||
147 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> log -r oldstyle() -T {rev}\n exited 0 after * seconds (glob) |
|
149 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> log -r oldstyle() -T {rev}\n exited 0 after * seconds (glob) | |
148 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated |
|
150 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated | |
149 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping |
|
151 | 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping |
General Comments 0
You need to be logged in to leave comments.
Login now