Show More
@@ -330,13 +330,12 b' def getset(repo, subset, x):' | |||||
330 | s = methods[x[0]](repo, subset, *x[1:]) |
|
330 | s = methods[x[0]](repo, subset, *x[1:]) | |
331 | if util.safehasattr(s, 'isascending'): |
|
331 | if util.safehasattr(s, 'isascending'): | |
332 | return s |
|
332 | return s | |
333 | if (repo.ui.configbool('devel', 'all-warnings') |
|
333 | # else case should not happen, because all non-func are internal, | |
334 | or repo.ui.configbool('devel', 'old-revset')): |
|
334 | # ignoring for now. | |
335 | # else case should not happen, because all non-func are internal, |
|
335 | if x[0] == 'func' and x[1][0] == 'symbol' and x[1][1] in symbols: | |
336 | # ignoring for now. |
|
336 | repo.ui.develwarn('revset "%s" use list instead of smartset, ' | |
337 | if x[0] == 'func' and x[1][0] == 'symbol' and x[1][1] in symbols: |
|
337 | '(upgrade your code)' % x[1][1], | |
338 | repo.ui.develwarn('revset "%s" use list instead of smartset, ' |
|
338 | config='old-revset') | |
339 | '(upgrade your code)' % x[1][1]) |
|
|||
340 | return baseset(s) |
|
339 | return baseset(s) | |
341 |
|
340 | |||
342 | def _getrevsource(repo, r): |
|
341 | def _getrevsource(repo, r): |
General Comments 0
You need to be logged in to leave comments.
Login now