mercurial/transaction.py
changeset 23903 426607be9c69
parent 23901 13268fde4c4d
child 23904 d251da5e0e84
--- a/mercurial/transaction.py	Fri Jan 16 19:29:16 2015 -0800
+++ b/mercurial/transaction.py	Fri Jan 16 19:35:04 2015 -0800
@@ -82,8 +82,8 @@
         pass
 
 class transaction(object):
-    def __init__(self, report, opener, vfsmap, journalname, after=None,
-                 createmode=None):
+    def __init__(self, report, opener, vfsmap, journalname, undoname=None,
+                 after=None, createmode=None):
         """Begin a new transaction
 
         Begins a new transaction that allows rolling back writes in the event of
@@ -105,6 +105,7 @@
         self.entries = []
         self.map = {}
         self.journal = journalname
+        self.undoname = undoname
         self._queue = []
         # a dict of arguments to be passed to hooks
         self.hookargs = {}