annex.version is now set to 4 for direct mode repositories
To avoid old versions of git-annex getting confused. There is no upgrade required though. We switch back to 3 when going from direct to indirect.
This commit is contained in:
parent
9052efbc22
commit
2d9c046dea
8 changed files with 23 additions and 9 deletions
|
@ -53,14 +53,14 @@ upgrade = do
|
|||
ifM (fromRepo Git.repoIsLocalBare)
|
||||
( do
|
||||
moveContent
|
||||
setVersion
|
||||
setVersion defaultVersion
|
||||
, do
|
||||
moveContent
|
||||
updateSymlinks
|
||||
moveLocationLogs
|
||||
|
||||
Annex.Queue.flush
|
||||
setVersion
|
||||
setVersion defaultVersion
|
||||
)
|
||||
|
||||
Upgrade.V2.upgrade
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue