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