Index: mercurial/context.py =================================================================== --- mercurial/context.py +++ mercurial/context.py @@ -1991,7 +1991,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()