Auto-upgrade v3 indirect repos to v5 with no changes. This also fixes a problem when a direct mode repo was somehow set to v3 rather than v4, and so the automatic direct mode upgrade to v5 was not done.

This commit is contained in:
Joey Hess 2013-12-29 13:06:23 -04:00
parent 7f6685c16e
commit b1d7474c1d
9 changed files with 18 additions and 29 deletions

View file

@ -22,7 +22,6 @@ import Annex.Direct
import Annex.Content
import Annex.Content.Direct
import Annex.CatFile
import Annex.Version
import Annex.Exception
import Init
import qualified Command.Add
@ -107,7 +106,6 @@ perform = do
cleanup :: CommandCleanup
cleanup = do
setVersion defaultVersion
showStart "indirect" ""
showEndOk
return True