mercurial/context.py
changeset 4110 20af6a2f0b0e
parent 4002 d7b9ec589546
child 4117 eb0967c6e77b
--- a/mercurial/context.py	Tue Feb 20 20:55:23 2007 +0100
+++ b/mercurial/context.py	Fri Feb 23 17:31:00 2007 +0100
@@ -510,7 +510,7 @@
     def date(self):
         t, tz = self._changectx.date()
         try:
-            return (os.lstat(repo.wjoin(self._path)).st_mtime, tz)
+            return (os.lstat(self._repo.wjoin(self._path)).st_mtime, tz)
         except OSError, err:
             if err.errno != errno.ENOENT: raise
             return (t, tz)