Show More
@@ -382,9 +382,9 b' class changelog(revlog.revlog):' | |||||
382 | tmpname = self.indexfile + ".a" |
|
382 | tmpname = self.indexfile + ".a" | |
383 | nfile = self.opener.open(tmpname) |
|
383 | nfile = self.opener.open(tmpname) | |
384 | nfile.close() |
|
384 | nfile.close() | |
385 | self.opener.rename(tmpname, self.indexfile) |
|
385 | self.opener.rename(tmpname, self.indexfile, checkambig=True) | |
386 | elif self._delaybuf: |
|
386 | elif self._delaybuf: | |
387 | fp = self.opener(self.indexfile, 'a') |
|
387 | fp = self.opener(self.indexfile, 'a', checkambig=True) | |
388 | fp.write("".join(self._delaybuf)) |
|
388 | fp.write("".join(self._delaybuf)) | |
389 | fp.close() |
|
389 | fp.close() | |
390 | self._delaybuf = None |
|
390 | self._delaybuf = None |
General Comments 0
You need to be logged in to leave comments.
Login now