diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-19 18:33:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-19 18:33:39 -0400 |
commit | 6a2a17658c1d508cec022132768e9bc1957098d9 (patch) | |
tree | 0faef3f988c981d35796b6e6f1adfbbbee0e3fa9 /Upgrade.hs | |
parent | 43b3675d4298ffe8cfaefed0d70f0ef1fce25e37 (diff) |
No longer auto-upgrade to repository format 2, to avoid accidental upgrades, etc. Use git-annex upgrade when you're ready to run this version.
Diffstat (limited to 'Upgrade.hs')
-rw-r--r-- | Upgrade.hs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Upgrade.hs b/Upgrade.hs index d201cc73e..08481755f 100644 --- a/Upgrade.hs +++ b/Upgrade.hs @@ -12,9 +12,6 @@ import Version import qualified Upgrade.V0 import qualified Upgrade.V1 -upgradableVersions :: [Version] -upgradableVersions = ["0", "1"] - {- Uses the annex.version git config setting to automate upgrades. -} upgrade :: Annex Bool upgrade = do @@ -22,5 +19,4 @@ upgrade = do case version of "0" -> Upgrade.V0.upgrade "1" -> Upgrade.V1.upgrade - v | v `elem` supportedVersions -> return True - _ -> error "this version of git-annex is too old for this git repository!" + _ -> return True |