summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-26 12:54:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-26 12:54:50 -0400
commit01c0042f39068e43443e667edbde15205f738608 (patch)
treeaf7c9a0971a446d7dcda41bb698f04ed5fce3b00 /Command
parent2e3acd1831b56662efcb957616210697afc195ff (diff)
Bug fix: annex.version did not get set on automatic upgrade to v5 direct mode repo, so the upgrade was performed repeatedly, slowing commands down.
Diffstat (limited to 'Command')
-rw-r--r--Command/Upgrade.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Command/Upgrade.hs b/Command/Upgrade.hs
index 66ea0e0eb..c6c0f7a8c 100644
--- a/Command/Upgrade.hs
+++ b/Command/Upgrade.hs
@@ -25,8 +25,4 @@ start :: CommandStart
start = do
showStart "upgrade" "."
r <- upgrade False
- ifM isDirect
- ( setVersion directModeVersion
- , setVersion defaultVersion
- )
next $ next $ return r