mercurial/localrepo.py
changeset 21702 99db956b88ab
parent 21660 e87d2a12d41b
parent 21698 99ba1d082287
child 21866 a2ca9dcb4b77
--- a/mercurial/localrepo.py	Fri May 30 11:53:10 2014 -0700
+++ b/mercurial/localrepo.py	Sun Jun 01 16:01:01 2014 -0700
@@ -863,7 +863,7 @@
                 hint=_("run 'hg recover' to clean up transaction"))
 
         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()]