Show More
@@ -128,7 +128,7 b' class transaction(util.transactional):' | |||||
128 | vfsmap = vfsmap.copy() |
|
128 | vfsmap = vfsmap.copy() | |
129 | vfsmap[''] = opener # set default value |
|
129 | vfsmap[''] = opener # set default value | |
130 | self._vfsmap = vfsmap |
|
130 | self._vfsmap = vfsmap | |
131 | self.after = after |
|
131 | self._after = after | |
132 | self.entries = [] |
|
132 | self.entries = [] | |
133 | self.map = {} |
|
133 | self.map = {} | |
134 | self._journal = journalname |
|
134 | self._journal = journalname | |
@@ -488,9 +488,9 b' class transaction(util.transactional):' | |||||
488 | % (vfs.join(b), inst)) |
|
488 | % (vfs.join(b), inst)) | |
489 | self.entries = [] |
|
489 | self.entries = [] | |
490 | self._writeundo() |
|
490 | self._writeundo() | |
491 | if self.after: |
|
491 | if self._after: | |
492 | self.after() |
|
492 | self._after() | |
493 | self.after = None # Help prevent cycles. |
|
493 | self._after = None # Help prevent cycles. | |
494 | if self.opener.isfile(self._backupjournal): |
|
494 | if self.opener.isfile(self._backupjournal): | |
495 | self.opener.unlink(self._backupjournal) |
|
495 | self.opener.unlink(self._backupjournal) | |
496 | if self.opener.isfile(self._journal): |
|
496 | if self.opener.isfile(self._journal): |
General Comments 0
You need to be logged in to leave comments.
Login now