Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revsetlang.py @ 40311:4aa04d009167
revset: drop special case of 'revset(...)' function in analyze
We now have a valid no-op function. We no longer need the special case.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 11 Oct 2018 03:15:04 +0200 |
parents | b902b177901d |
children | 24a1f67bb75a |
line wrap: on
line diff
--- a/mercurial/revsetlang.py Thu Oct 11 03:13:53 2018 +0200 +++ b/mercurial/revsetlang.py Thu Oct 11 03:15:04 2018 +0200 @@ -355,9 +355,6 @@ elif op == 'keyvalue': return (op, x[1], _analyze(x[2])) elif op == 'func': - f = getsymbol(x[1]) - if f == 'revset': - return _analyze(x[2]) return (op, x[1], _analyze(x[2])) raise ValueError('invalid operator %r' % op)