comparison mercurial/revset.py @ 29147:ff07da10de4c

devel: fix a typo in a deprecation warning Credit goes to Sean Farley for spotting it.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 11 May 2016 09:34:59 +0200
parents b175d9cc3ee8
children f5983805574e
comparison
equal deleted inserted replaced
29146:b175d9cc3ee8 29147:ff07da10de4c
331 if util.safehasattr(s, 'isascending'): 331 if util.safehasattr(s, 'isascending'):
332 return s 332 return s
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)
340 340
341 def _getrevsource(repo, r): 341 def _getrevsource(repo, r):