v3 upgrade code works
but write the index file a lot, so slow
This commit is contained in:
parent
66ceb92702
commit
af10b2854a
4 changed files with 94 additions and 50 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue