Mercurial > public > mercurial-scm > hg-stable
diff mercurial/fileset.py @ 14701:4b93bd041772 stable
parsers: fix localization markup of parser errors
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 21 Jun 2011 00:17:52 +0200 |
parents | 848a6658069e |
children | 552329013bac |
line wrap: on
line diff
--- a/mercurial/fileset.py Sun Jun 19 22:33:25 2011 -0400 +++ b/mercurial/fileset.py Tue Jun 21 00:17:52 2011 +0200 @@ -402,7 +402,7 @@ def getfileset(ctx, expr): tree, pos = parse(expr) if (pos != len(expr)): - raise error.ParseError("invalid token", pos) + raise error.ParseError(_("invalid token"), pos) # do we need status info? if _intree(['modified', 'added', 'removed', 'deleted',