v3 upgrade code works

but write the index file a lot, so slow
This commit is contained in:
Joey Hess 2011-06-23 02:30:20 -04:00
parent 66ceb92702
commit af10b2854a
4 changed files with 94 additions and 50 deletions

View file

@ -30,6 +30,7 @@ import Backend
import Messages
import Version
import Utility
import qualified Upgrade.V2
-- v2 adds hashing of filenames of content and location log files.
-- Key information is encoded in filenames differently, so
@ -70,8 +71,8 @@ upgrade = do
AnnexQueue.flush True
setVersion
return True
Upgrade.V2.upgrade
moveContent :: Annex ()
moveContent = do