When auto-upgrading a v3 remote, avoid upgrading to version 6, instead keep it at...
authorJoey Hess <joeyh@joeyh.name>
Wed, 5 Oct 2016 20:23:09 +0000 (16:23 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 5 Oct 2016 20:23:09 +0000 (16:23 -0400)
commitf867fc157f8ca63ecc9c1ed7c201f415e9874d6c
treec2d0a46a38ddda876e2643930b0e0f7e29545039
parentf23446b60e2da700cbb9841262df7c23b7e20873
When auto-upgrading a v3 remote, avoid upgrading to version 6, instead keep it at version 5.

Fixes a bug introduced with v6 mode that I didn't notice until now.
Probably not many v3 repos left out there, and upgrading them to v6 mode
is not disastrous, only a little premature.

This commit was sponsored by Riku Voipio
Annex/Init.hs
Annex/Version.hs
CHANGELOG
Command/Upgrade.hs
Upgrade.hs
Upgrade/V1.hs