support invalidating existing VerifiedCopys
This commit is contained in:
parent
90f7c4b6a2
commit
c75c79864d
8 changed files with 73 additions and 23 deletions
|
@ -161,7 +161,7 @@ genTransfer t info = case transferRemote info of
|
|||
("object uploaded to " ++ show remote)
|
||||
True (transferKey t)
|
||||
(associatedFile info)
|
||||
[VerifiedCopy (Remote.uuid remote)]
|
||||
[mkVerifiedCopy RecentlyVerifiedCopy remote]
|
||||
void recordCommit
|
||||
, whenM (liftAnnex $ isNothing <$> checkTransfer t) $
|
||||
void $ removeTransfer t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue