continue to use v8 by default for now, unless upgraded

Since it's easy to keep supporting v8, using it for a while (eg a few
months) will give users time to upgrade git-annex installations, before
it upgrades their repository to v9.

This commit should be reverted once ready to start upgrading
repositories by default.

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2022-01-20 11:56:05 -04:00
parent 90027f7158
commit d0a5714409
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -19,13 +19,13 @@ import qualified Annex
import qualified Data.Map as M
defaultVersion :: RepoVersion
defaultVersion = RepoVersion 10
defaultVersion = RepoVersion 8
latestVersion :: RepoVersion
latestVersion = RepoVersion 10
supportedVersions :: [RepoVersion]
supportedVersions = map RepoVersion [9, 10]
supportedVersions = map RepoVersion [8, 9, 10]
upgradeableVersions :: [RepoVersion]
#ifndef mingw32_HOST_OS