summaryrefslogtreecommitdiff
path: root/Upgrade.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-22 17:51:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-22 17:51:48 -0400
commit1a182d4d047c24e217663dbccfa39aae907cbbc0 (patch)
treee157eb0aec0aa4bba168443247cfac9771cb2998 /Upgrade.hs
parentc3d96ee38a07e2cd9b27241155f80c5020a814f1 (diff)
stub in v2 upgrade
Diffstat (limited to 'Upgrade.hs')
-rw-r--r--Upgrade.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Upgrade.hs b/Upgrade.hs
index 08481755f..6cd75cf3e 100644
--- a/Upgrade.hs
+++ b/Upgrade.hs
@@ -11,6 +11,7 @@ import Types
import Version
import qualified Upgrade.V0
import qualified Upgrade.V1
+import qualified Upgrade.V2
{- Uses the annex.version git config setting to automate upgrades. -}
upgrade :: Annex Bool
@@ -19,4 +20,5 @@ upgrade = do
case version of
"0" -> Upgrade.V0.upgrade
"1" -> Upgrade.V1.upgrade
+ "2" -> Upgrade.V2.upgrade
_ -> return True