Show More
@@ -358,8 +358,9 b' class dirstate(object):' | |||||
358 | e = struct.pack(self.format, e[0], e[1], e[2], e[3], len(f)) |
|
358 | e = struct.pack(self.format, e[0], e[1], e[2], e[3], len(f)) | |
359 | cs.write(e) |
|
359 | cs.write(e) | |
360 | cs.write(f) |
|
360 | cs.write(f) | |
361 | st = self.opener("dirstate", "w", atomic=True) |
|
361 | st = self.opener("dirstate", "w", atomictemp=True) | |
362 | st.write(cs.getvalue()) |
|
362 | st.write(cs.getvalue()) | |
|
363 | st.rename() | |||
363 | self.dirty = 0 |
|
364 | self.dirty = 0 | |
364 |
|
365 | |||
365 | def filterfiles(self, files): |
|
366 | def filterfiles(self, files): |
General Comments 0
You need to be logged in to leave comments.
Login now