# HG changeset patch # User Matt Mackall # Date 2007-05-08 03:30:36 # Node ID b6146466b92a1503e28892fdb9cd6114fb0b2822 # Parent f700ea2b0689b28d77e71c13042e648373e016c1 context: fix workingfilectx._changectx diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -446,7 +446,7 @@ class workingfilectx(filectx): 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)