equal
deleted
inserted
replaced
1703 def size(self): |
1703 def size(self): |
1704 return self._repo.wvfs.lstat(self._path).st_size |
1704 return self._repo.wvfs.lstat(self._path).st_size |
1705 def date(self): |
1705 def date(self): |
1706 t, tz = self._changectx.date() |
1706 t, tz = self._changectx.date() |
1707 try: |
1707 try: |
1708 return (util.statmtimesec(self._repo.wvfs.lstat(self._path)), tz) |
1708 return (self._repo.wvfs.lstat(self._path).st_mtime, tz) |
1709 except OSError as err: |
1709 except OSError as err: |
1710 if err.errno != errno.ENOENT: |
1710 if err.errno != errno.ENOENT: |
1711 raise |
1711 raise |
1712 return (t, tz) |
1712 return (t, tz) |
1713 |
1713 |