The error message when a v2 repository is mistakenly upgraded can be made more helpful. Right now the error message is
Migration upgrade cannot be applied: check failed
If you want to apply this migration anyways re-run with option – – force
Instead, the message could be:
Error: repository is already in v2 format.