changeset 4414:b6146466b92a

context: fix workingfilectx._changectx
author Matt Mackall <mpm@selenic.com>
date Mon, 07 May 2007 22:30:36 -0500
parents f700ea2b0689
children 1a63b44f90c9
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)