don't fail git-annex upgrade to v10

That left the repo in v8, but with filter.annex.process set. Instead,
only warn, and defer the v10 upgrade.

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2022-01-21 13:15:32 -04:00
parent 47084b8a1d
commit 22d9b320b1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -28,7 +28,9 @@ upgrade automatic
, performUpgrade automatic
)
| otherwise = ifM (oldprocessesdanger <&&> (not <$> Annex.getState Annex.force))
( giveup $ unlines unsafeupgrade
( do
warning $ unlines unsafeupgrade
return UpgradeDeferred
, performUpgrade automatic
)
where