changeset 1073 | 7b35a980b982 |
parent 1062 | 6d5a62a549fa |
child 1400 | cf9a1233738a |
--- a/mercurial/transaction.py +++ b/mercurial/transaction.py @@ -20,7 +20,7 @@ class transaction: # abort here if the journal already exists if os.path.exists(journal): - raise "journal already exists - run hg recover" + raise AssertionError("journal already exists - run hg recover") self.report = report self.opener = opener