mercurial/transaction.py
changeset 1073 7b35a980b982
parent 1062 6d5a62a549fa
child 1400 cf9a1233738a
--- a/mercurial/transaction.py	Fri Aug 26 16:49:23 2005 -0700
+++ b/mercurial/transaction.py	Fri Aug 26 19:08:25 2005 -0700
@@ -20,7 +20,7 @@
 
         # 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