mercurial/fileset.py
branchstable
changeset 14701 4b93bd041772
parent 14700 848a6658069e
child 14716 552329013bac
--- 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',