mercurial/localrepo.py
branchstable
changeset 21698 99ba1d082287
parent 21186 9f3652e851f8
child 21702 99db956b88ab
--- a/mercurial/localrepo.py	Thu May 22 01:49:12 2014 -0700
+++ b/mercurial/localrepo.py	Wed May 21 18:02:35 2014 -0700
@@ -858,7 +858,7 @@
                 _("abandoned transaction found - run hg recover"))
 
         def onclose():
-            self.store.write(tr)
+            self.store.write(self._transref())
 
         self._writejournal(desc)
         renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()]