comparison tests/test-rollback.t @ 44355:7a4e1d245f19

recover: don't verify by default The reason is: - it's not that hard to trigger interrupted transactions: just run out of disk space - it takes forever to verify on large repos. Before --no-verify, I told people to C-c hg recover when the progress bar showed up. Now I tell them to pass --no-verify. - I don't remember a single case where the verification step was useful This is technically a change of behavior. Perhaps this would be better suited for tweakdefaults? Differential Revision: https://phab.mercurial-scm.org/D7972
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
date Wed, 22 Jan 2020 14:21:34 -0500
parents 57c462db87fd
children c6d31e659a28
comparison
equal deleted inserted replaced
44354:2e2cfc3bea0b 44355:7a4e1d245f19
188 $ cat a 188 $ cat a
189 a 189 a
190 190
191 corrupt journal test 191 corrupt journal test
192 $ echo "foo" > .hg/store/journal 192 $ echo "foo" > .hg/store/journal
193 $ hg recover 193 $ hg recover --verify
194 rolling back interrupted transaction 194 rolling back interrupted transaction
195 couldn't read journal entry 'foo\n'! 195 couldn't read journal entry 'foo\n'!
196 checking changesets 196 checking changesets
197 checking manifests 197 checking manifests
198 crosschecking files in changesets and manifests 198 crosschecking files in changesets and manifests