This commit is contained in:
Joey Hess 2016-12-09 12:56:38 -04:00
parent 0f3a3ff1e5
commit 58f5d41cac
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -356,8 +356,8 @@ dropKey r key
commitOnCleanup r $ onLocal r $ do
ensureInitialized
whenM (Annex.Content.inAnnex key) $ do
Annex.Content.lockContentForRemoval key $ do
Annex.Content.removeAnnex
Annex.Content.lockContentForRemoval key $ \lock -> do
Annex.Content.removeAnnex lock
logStatus key InfoMissing
Annex.Content.saveState True
return True