mercurial/revset.py
changeset 29146 b175d9cc3ee8
parent 29139 64c1955a0461
child 29147 ff07da10de4c
--- a/mercurial/revset.py	Wed May 11 01:46:11 2016 +0000
+++ b/mercurial/revset.py	Wed May 11 09:31:47 2016 +0200
@@ -333,9 +333,9 @@
     # else case should not happen, because all non-func are internal,
     # ignoring for now.
     if x[0] == 'func' and x[1][0] == 'symbol' and x[1][1] in symbols:
-        repo.ui.develwarn('revset "%s" use list instead of smartset, '
-                          '(upgrade your code)' % x[1][1],
-                          config='old-revset')
+        repo.ui.deprecwarn('revset "%s" use list instead of smartset'
+                           % x[1][1],
+                           '3.9')
     return baseset(s)
 
 def _getrevsource(repo, r):