diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -198,7 +198,7 @@ class changectx(object): if match(fn): yield fn for fn in sorted(fset): - if match.bad(fn, 'No such file in rev ' + str(self)) and match(fn): + if match.bad(fn, _('No such file in rev %s') % self) and match(fn): yield fn def sub(self, path):