diff mercurial/revlog.py @ 5325:5971cfc0a56a

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Mon, 24 Sep 2007 12:34:26 -0500
parents fb070713ff36 8409a2e3a78d
children f87685355c9c
line wrap: on
line diff
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1038,7 +1038,7 @@ class revlog(object):
             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])