diff options
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Init.hs | 3 | ||||
-rw-r--r-- | Annex/Version.hs | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs index ead638990..9e0361daf 100644 --- a/Annex/Init.hs +++ b/Annex/Init.hs @@ -93,7 +93,8 @@ initialize' mversion = do Database.Keys.scanAssociatedFiles v <- checkAdjustedClone case v of - NeedUpgradeForAdjustedClone -> void $ upgrade True + NeedUpgradeForAdjustedClone -> + void $ upgrade True versionForAdjustedClone InAdjustedClone -> return () NotInAdjustedClone -> ifM (crippledFileSystem <&&> (not <$> isBareRepo)) diff --git a/Annex/Version.hs b/Annex/Version.hs index af9487871..7726840de 100644 --- a/Annex/Version.hs +++ b/Annex/Version.hs @@ -24,6 +24,9 @@ latestVersion = "6" supportedVersions :: [Version] supportedVersions = ["5", "6"] +versionForAdjustedClone :: Version +versionForAdjustedClone = "6" + upgradableVersions :: [Version] #ifndef mingw32_HOST_OS upgradableVersions = ["0", "1", "2", "3", "4", "5"] |