Mercurial > hg-stable
changeset 9691:f8e1456e1c2c
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.
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Mon, 02 Nov 2009 10:17:20 +0100 |
parents | b33d70849a20 |
children | 807633f1e3c2 |
files | mercurial/localrepo.py tests/test-journal-exists.out |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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