##// END OF EJS Templates
revlog: make converting from inline to non-line work after a strip...
Mike Edgar -
r24454:59904edf default
parent child Browse files
Show More
@@ -1129,7 +1129,12 class revlog(object):
1129 % self.indexfile)
1129 % self.indexfile)
1130
1130
1131 trindex = trinfo[2]
1131 trindex = trinfo[2]
1132 if trindex is not None:
1132 dataoff = self.start(trindex)
1133 dataoff = self.start(trindex)
1134 else:
1135 # revlog was stripped at start of transaction, use all leftover data
1136 trindex = len(self) - 1
1137 dataoff = self.end(-2)
1133
1138
1134 tr.add(self.datafile, dataoff)
1139 tr.add(self.datafile, dataoff)
1135
1140
General Comments 0
You need to be logged in to leave comments. Login now