comparison mercurial/revlog.py @ 5324:8409a2e3a78d

revlog: fix inlined revision transaction extra data (issue 749)
author Patrick Mezard <pmezard@gmail.com>
date Sun, 23 Sep 2007 18:24:19 +0200
parents 3addf4531643
children 5971cfc0a56a
comparison
equal deleted inserted replaced
5323:46455285c6b5 5324:8409a2e3a78d
1035 dfh.write(data[1]) 1035 dfh.write(data[1])
1036 dfh.flush() 1036 dfh.flush()
1037 ifh.write(entry) 1037 ifh.write(entry)
1038 else: 1038 else:
1039 offset += curr * self._io.size 1039 offset += curr * self._io.size
1040 transaction.add(self.indexfile, offset, prev) 1040 transaction.add(self.indexfile, offset, curr)
1041 ifh.write(entry) 1041 ifh.write(entry)
1042 ifh.write(data[0]) 1042 ifh.write(data[0])
1043 ifh.write(data[1]) 1043 ifh.write(data[1])
1044 self.checkinlinesize(transaction, ifh) 1044 self.checkinlinesize(transaction, ifh)
1045 1045