diff -r b008deae9910 -r 0912d8df5e19 mercurial/context.py --- a/mercurial/context.py Sat May 05 15:56:49 2007 +0900 +++ b/mercurial/context.py Tue May 08 11:42:48 2007 -0500 @@ -448,7 +448,7 @@ def __getattr__(self, name): if name == '_changectx': - self._changectx = workingctx(repo) + self._changectx = workingctx(self._repo) return self._changectx elif name == '_repopath': self._repopath = (self._repo.dirstate.copied(self._path)