changeset 11610:26175823b9d4

merge with stable
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sun, 18 Jul 2010 18:11:59 +0900
parents 890ad9d6a169 (current diff) ce95d8b87d22 (diff)
children e8b9942f5254
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: