mercurial/context.py
branchstable
changeset 11605 ce95d8b87d22
parent 11539 a463e3c50212
child 11702 eb07fbc21e9c
child 12030 927d63be166b
--- a/mercurial/context.py	Fri Jul 16 14:44:30 2010 +0200
+++ b/mercurial/context.py	Fri Jul 16 16:33:55 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: