Mercurial > public > mercurial-scm > hg-stable
diff mercurial/fileset.py @ 24218:cecaec0e8719
fileset: use UnknownIdentifier where appropriate
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 26 Jan 2015 14:31:48 -0500 |
parents | c2dd79ad99cb |
children | eda2f36889b5 |
line wrap: on
line diff
--- 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: