changeset 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 46455285c6b5
children 5971cfc0a56a
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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])