mercurial/revset.py
changeset 28910 1203159c8928
parent 28898 8d398155bfda
child 29001 923fa9e06ea0
--- a/mercurial/revset.py	Tue Mar 29 17:21:11 2016 +0900
+++ b/mercurial/revset.py	Tue Mar 29 17:27:34 2016 +0900
@@ -2254,7 +2254,11 @@
     """Parsing and expansion rule set of revset aliases"""
     _section = _('revset alias')
     _parse = staticmethod(_parsealias)
-    _getlist = staticmethod(getlist)
+
+    @staticmethod
+    def _trygetfunc(tree):
+        if tree[0] == 'func' and tree[1][0] == 'symbol':
+            return tree[1][1], getlist(tree[2])
 
 def expandaliases(ui, tree, showwarning=None):
     aliases = _aliasrules.buildmap(ui.configitems('revsetalias'))