##// END OF EJS Templates
context: use os.lstat instead of os.stat to fetch file size...
Nicolas Dumazet -
r11605:ce95d8b8 stable
parent child Browse files
Show More
@@ -925,7 +925,7 b' class workingfilectx(filectx):'
925 return []
925 return []
926
926
927 def size(self):
927 def size(self):
928 return os.stat(self._repo.wjoin(self._path)).st_size
928 return os.lstat(self._repo.wjoin(self._path)).st_size
929 def date(self):
929 def date(self):
930 t, tz = self._changectx.date()
930 t, tz = self._changectx.date()
931 try:
931 try:
General Comments 0
You need to be logged in to leave comments. Login now