##// END OF EJS Templates
changelog: specify checkambig=True to avoid ambiguity around truncation...
FUJIWARA Katsunori -
r29999:003c41ed default
parent child Browse files
Show More
@@ -382,9 +382,9 b' class changelog(revlog.revlog):'
382 382 tmpname = self.indexfile + ".a"
383 383 nfile = self.opener.open(tmpname)
384 384 nfile.close()
385 self.opener.rename(tmpname, self.indexfile)
385 self.opener.rename(tmpname, self.indexfile, checkambig=True)
386 386 elif self._delaybuf:
387 fp = self.opener(self.indexfile, 'a')
387 fp = self.opener(self.indexfile, 'a', checkambig=True)
388 388 fp.write("".join(self._delaybuf))
389 389 fp.close()
390 390 self._delaybuf = None
General Comments 0
You need to be logged in to leave comments. Login now