equal
deleted
inserted
replaced
625 self._writedirstate(st) |
625 self._writedirstate(st) |
626 |
626 |
627 def _writedirstate(self, st): |
627 def _writedirstate(self, st): |
628 # use the modification time of the newly created temporary file as the |
628 # use the modification time of the newly created temporary file as the |
629 # filesystem's notion of 'now' |
629 # filesystem's notion of 'now' |
630 now = util.fstat(st).st_mtime |
630 now = util.statmtimesec(util.fstat(st)) & _rangemask |
631 st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now)) |
631 st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now)) |
632 st.close() |
632 st.close() |
633 self._lastnormaltime = 0 |
633 self._lastnormaltime = 0 |
634 self._dirty = self._dirtypl = False |
634 self._dirty = self._dirtypl = False |
635 |
635 |