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