Show More
@@ -503,17 +503,13 b' class dirstate(object):' | |||||
503 | if not self._dirty: |
|
503 | if not self._dirty: | |
504 | return |
|
504 | return | |
505 | st = self._opener("dirstate", "w", atomictemp=True) |
|
505 | st = self._opener("dirstate", "w", atomictemp=True) | |
506 |
|
||||
507 | def finish(s): |
|
|||
508 | st.write(s) |
|
|||
509 | st.close() |
|
|||
510 | self._lastnormaltime = 0 |
|
|||
511 | self._dirty = self._dirtypl = False |
|
|||
512 |
|
||||
513 | # use the modification time of the newly created temporary file as the |
|
506 | # use the modification time of the newly created temporary file as the | |
514 | # filesystem's notion of 'now' |
|
507 | # filesystem's notion of 'now' | |
515 | now = util.fstat(st).st_mtime |
|
508 | now = util.fstat(st).st_mtime | |
516 |
|
|
509 | st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now)) | |
|
510 | st.close() | |||
|
511 | self._lastnormaltime = 0 | |||
|
512 | self._dirty = self._dirtypl = False | |||
517 |
|
513 | |||
518 | def _dirignore(self, f): |
|
514 | def _dirignore(self, f): | |
519 | if f == '.': |
|
515 | if f == '.': |
General Comments 0
You need to be logged in to leave comments.
Login now