merge with stable
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Sun, 18 Jul 2010 18:11:59 +0900
changeset 11610 26175823b9d4
parent 11609 890ad9d6a169 (current diff)
parent 11605 ce95d8b87d22 (diff)
child 11613 e8b9942f5254
merge with stable
--- a/mercurial/context.py	Sun Jul 04 18:07:30 2010 +0900
+++ b/mercurial/context.py	Sun Jul 18 18:11:59 2010 +0900
@@ -925,7 +925,7 @@
         return []
 
     def size(self):
-        return os.stat(self._repo.wjoin(self._path)).st_size
+        return os.lstat(self._repo.wjoin(self._path)).st_size
     def date(self):
         t, tz = self._changectx.date()
         try: