revset: check invalid function syntax "func-name"() explicitly
Before the error was caught at func() as an unknown identifier, and the
optimizer failed to detect the syntax error. This patch introduces getsymbol()
helper to ensure that a string is not allowed as a function name.
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)