##// END OF EJS Templates
Fix truncate logic for indices again
mpm@selenic.com -
r41:df3f4625 default
parent child Browse files
Show More
@@ -163,7 +163,7 b' class revlog:'
163
163
164 transaction.add(self.datafile, e[0])
164 transaction.add(self.datafile, e[0])
165 self.opener(self.datafile, "a").write(data)
165 self.opener(self.datafile, "a").write(data)
166 transaction.add(self.indexfile, (n + 1) * len(entry))
166 transaction.add(self.indexfile, n * len(entry))
167 self.opener(self.indexfile, "a").write(entry)
167 self.opener(self.indexfile, "a").write(entry)
168
168
169 self.cache = (node, n, text)
169 self.cache = (node, n, text)
General Comments 0
You need to be logged in to leave comments. Login now