mercurial/dirstate.py
changeset 26630 3111b45a2bbf
parent 26592 502b56a9e897
child 26632 59b5e8844eb0
equal deleted inserted replaced
26629:ae5f7be2b4ab 26630:3111b45a2bbf
   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