diff -r 29569f2db929 -r 013de80bf90e tests/test-journal-exists.t --- a/tests/test-journal-exists.t Tue Apr 02 19:48:31 2019 +0200 +++ b/tests/test-journal-exists.t Wed Apr 17 00:37:00 2019 +0200 @@ -21,6 +21,33 @@ checking files checked 1 changesets with 1 changes to 1 files +recover, explicite verify + + $ touch .hg/store/journal + $ hg ci -Am0 + abort: abandoned transaction found! + (run 'hg recover' to clean up transaction) + [255] + $ hg recover --verify + rolling back interrupted transaction + checking changesets + checking manifests + crosschecking files in changesets and manifests + checking files + checked 1 changesets with 1 changes to 1 files + +recover, no verify + + $ touch .hg/store/journal + $ hg ci -Am0 + abort: abandoned transaction found! + (run 'hg recover' to clean up transaction) + [255] + $ hg recover --no-verify + rolling back interrupted transaction + (verify step skipped, run `hg verify` to check your repository content) + + Check that zero-size journals are correctly aborted: #if unix-permissions no-root