diff mercurial/localrepo.py @ 21702:99db956b88ab

merge with stable
author Matt Mackall <mpm@selenic.com>
date Sun, 01 Jun 2014 16:01:01 -0700
parents e87d2a12d41b 99ba1d082287
children a2ca9dcb4b77
line wrap: on
line diff
--- 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()]