diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -2010,7 +2010,7 @@ return self._wrappedctx[path].data() else: raise error.ProgrammingError("No such file or directory: %s" % - self._path) + path) else: return self._wrappedctx[path].data()