##// END OF EJS Templates
devel: fix a typo in a deprecation warning...
Pierre-Yves David -
r29147:ff07da10 default
parent child Browse files
Show More
@@ -333,7 +333,7 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.deprecwarn('revset "%s" use list instead of smartset'
336 repo.ui.deprecwarn('revset "%s" uses list instead of smartset'
337 % x[1][1],
337 % x[1][1],
338 '3.9')
338 '3.9')
339 return baseset(s)
339 return baseset(s)
@@ -122,7 +122,7 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" uses list instead of smartset
126 (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob)
126 (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob)
127 0
127 0
128 $ hg oldanddeprecated
128 $ hg oldanddeprecated
@@ -144,7 +144,7 b''
144 */mercurial/util.py:* in check (glob)
144 */mercurial/util.py:* in check (glob)
145 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
145 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
146 $ hg blackbox -l 9
146 $ hg blackbox -l 9
147 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" uses list instead of smartset
148 (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob)
148 (compatibility will be dropped after Mercurial-3.9, update your code.) at: *mercurial/revset.py:* (mfunc) (glob)
149 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)
150 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
150 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
General Comments 0
You need to be logged in to leave comments. Login now