mercurial/revlog.py
changeset 5324 8409a2e3a78d
parent 5007 3addf4531643
child 5325 5971cfc0a56a
--- a/mercurial/revlog.py	Sun Sep 23 15:29:58 2007 +0200
+++ b/mercurial/revlog.py	Sun Sep 23 18:24:19 2007 +0200
@@ -1037,7 +1037,7 @@
             ifh.write(entry)
         else:
             offset += curr * self._io.size
-            transaction.add(self.indexfile, offset, prev)
+            transaction.add(self.indexfile, offset, curr)
             ifh.write(entry)
             ifh.write(data[0])
             ifh.write(data[1])