This commit is contained in:
Joey Hess 2011-06-21 14:34:08 -04:00
parent c03af0ed0c
commit 9a1f0fcee2
2 changed files with 6 additions and 2 deletions

View file

@ -20,13 +20,13 @@ import Config
type Version = String
defaultVersion :: Version
defaultVersion = "2"
defaultVersion = "3"
supportedVersions :: [Version]
supportedVersions = [defaultVersion]
upgradableVersions :: [Version]
upgradableVersions = ["0", "1"]
upgradableVersions = ["0", "1", "2"]
versionField :: String
versionField = "annex.version"

View file

@ -45,6 +45,10 @@ Example upgrade process:
## Upgrade events, so far
### v2 -> v3 (git-annex version 0.20110610 to version 0.20110622)
Involved moving the .git-annex/ directory into a separate git-annex branch.
### v1 -> v2 (git-annex version 0.23 to version 0.20110316)
Involved adding hashing to .git/annex/ and changing the names of all keys.