diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-26 12:54:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-26 12:54:50 -0400 |
commit | 01c0042f39068e43443e667edbde15205f738608 (patch) | |
tree | af7c9a0971a446d7dcda41bb698f04ed5fce3b00 /Command/Upgrade.hs | |
parent | 2e3acd1831b56662efcb957616210697afc195ff (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/Upgrade.hs')
-rw-r--r-- | Command/Upgrade.hs | 4 |
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 |