mercurial/fileset.py
changeset 24218 cecaec0e8719
parent 23113 c2dd79ad99cb
child 24334 eda2f36889b5
--- a/mercurial/fileset.py	Mon Jan 26 14:31:01 2015 -0500
+++ b/mercurial/fileset.py	Mon Jan 26 14:31:48 2015 -0500
@@ -186,7 +186,7 @@
 def func(mctx, a, b):
     if a[0] == 'symbol' and a[1] in symbols:
         return symbols[a[1]](mctx, b)
-    raise error.ParseError(_("not a function: %s") % a[1])
+    raise error.UnknownIdentifier(a[1], symbols.keys())
 
 def getlist(x):
     if not x: