mercurial/context.py
changeset 27016 448cbdab5883
parent 26978 9b9d4bcc915e
child 27063 37e1fdcb271c
equal deleted inserted replaced
27015:341cb90ffd18 27016:448cbdab5883
  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