equal
deleted
inserted
replaced
880 self.store.write(self._transref()) |
880 self.store.write(self._transref()) |
881 |
881 |
882 self._writejournal(desc) |
882 self._writejournal(desc) |
883 renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()] |
883 renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()] |
884 rp = report and report or self.ui.warn |
884 rp = report and report or self.ui.warn |
885 tr = transaction.transaction(rp, self.sopener, |
885 vfsmap = {'plain': self.opener} # root of .hg/ |
|
886 tr = transaction.transaction(rp, self.sopener, vfsmap, |
886 "journal", |
887 "journal", |
887 aftertrans(renames), |
888 aftertrans(renames), |
888 self.store.createmode, |
889 self.store.createmode, |
889 onclose) |
890 onclose) |
890 self._transref = weakref.ref(tr) |
891 self._transref = weakref.ref(tr) |