# HG changeset patch # User Augie Fackler # Date 1422300708 18000 # Node ID cecaec0e8719ebf62d5b5c33ba2912a580a6b865 # Parent d2b81256db1eb20b4039df6c75e5f1245804f41d fileset: use UnknownIdentifier where appropriate diff -r d2b81256db1e -r cecaec0e8719 mercurial/fileset.py --- 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: