diff mercurial/transaction.py @ 5865:e7127f669edb

transactions: don't show a backtrace when journal exists Now we simply print a message on how to recover.
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Jan 2008 11:32:25 -0600
parents 6b4127c7d52a
children 53ed9b40cfc4
line wrap: on
line diff
--- a/mercurial/transaction.py	Wed Jan 16 11:14:51 2008 -0600
+++ b/mercurial/transaction.py	Wed Jan 16 11:32:25 2008 -0600
@@ -18,10 +18,6 @@
     def __init__(self, report, opener, journal, after=None):
         self.journal = None
 
-        # abort here if the journal already exists
-        if os.path.exists(journal):
-            raise AssertionError(_("journal already exists - run hg recover"))
-
         self.count = 1
         self.report = report
         self.opener = opener