mercurial/localrepo.py
changeset 23903 426607be9c69
parent 23902 bfa52f4ecf54
child 23917 3cbb5bf4035d
equal deleted inserted replaced
23902:bfa52f4ecf54 23903:426607be9c69
   910         renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()]
   910         renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()]
   911         rp = report and report or self.ui.warn
   911         rp = report and report or self.ui.warn
   912         vfsmap = {'plain': self.vfs} # root of .hg/
   912         vfsmap = {'plain': self.vfs} # root of .hg/
   913         tr = transaction.transaction(rp, self.svfs, vfsmap,
   913         tr = transaction.transaction(rp, self.svfs, vfsmap,
   914                                      "journal",
   914                                      "journal",
       
   915                                      "undo",
   915                                      aftertrans(renames),
   916                                      aftertrans(renames),
   916                                      self.store.createmode)
   917                                      self.store.createmode)
   917         # note: writing the fncache only during finalize mean that the file is
   918         # note: writing the fncache only during finalize mean that the file is
   918         # outdated when running hooks. As fncache is used for streaming clone,
   919         # outdated when running hooks. As fncache is used for streaming clone,
   919         # this is not expected to break anything that happen during the hooks.
   920         # this is not expected to break anything that happen during the hooks.