stub in v2 upgrade
This commit is contained in:
parent
c3d96ee38a
commit
1a182d4d04
3 changed files with 10 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue