summaryrefslogtreecommitdiff
path: root/Command/Upgrade.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-26 15:13:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-26 15:13:10 -0400
commitdce8bec196e978dfae4592f7308b750fcb97a609 (patch)
tree3b58331b82c7c094e4ee341a5a31437eab3ed129 /Command/Upgrade.hs
parente3ef9d058af30419924bcd2169aea3716ce53105 (diff)
annex.version is now set to 4 for direct mode repositories
To avoid old versions of git-annex getting confused. There is no upgrade required though. We switch back to 3 when going from direct to indirect.
Diffstat (limited to 'Command/Upgrade.hs')
-rw-r--r--Command/Upgrade.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Upgrade.hs b/Command/Upgrade.hs
index b39fcd99c..d1c1eb3b0 100644
--- a/Command/Upgrade.hs
+++ b/Command/Upgrade.hs
@@ -23,5 +23,5 @@ start :: CommandStart
start = do
showStart "upgrade" "."
r <- upgrade
- setVersion
+ setVersion defaultVersion
next $ next $ return r