diff -r bfa52f4ecf54 -r 426607be9c69 mercurial/transaction.py --- 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 = {}