Commits

Anonymous committed 399cfd2

Adding support for the 'dryrun' option of rollback (see mercurial f0bfe42c7b1f)

Comments (0)

Files changed (1)

     repo._taskscache = None
 
     class task_repo(repo.__class__):
-        def rollback(self):
+        def rollback(self, *args):
             if os.path.exists(self.join('tasks/undo.tasks')):
                 util.rename(self.join('tasks/undo.tasks'),
                     self.join('tasks/tasks'))
-            return super(task_repo, self).rollback()
+            return super(task_repo, self).rollback(*args)
 
         def lookup(self, key):
             if self._tasks is None: