change 'journal already exists' to 'abandoned transaction found'
Journal already exists is a pretty internal piece of information, which
doesn't necessarily mean much to people who are not familiar with the code.
The new text is a more well-known concept.
--- a/mercurial/localrepo.py Mon Nov 02 10:15:04 2009 +0100
+++ b/mercurial/localrepo.py Mon Nov 02 10:17:20 2009 +0100
@@ -556,7 +556,7 @@
# abort here if the journal already exists
if os.path.exists(self.sjoin("journal")):
- raise error.RepoError(_("journal already exists - run hg recover"))
+ raise error.RepoError(_("abandoned transaction found - run hg recover"))
# save dirstate for rollback
try:
--- a/tests/test-journal-exists.out Mon Nov 02 10:15:04 2009 +0100
+++ b/tests/test-journal-exists.out Mon Nov 02 10:17:20 2009 +0100
@@ -1,5 +1,5 @@
adding a
-abort: journal already exists - run hg recover!
+abort: abandoned transaction found - run hg recover!
rolling back interrupted transaction
checking changesets
checking manifests