convert PendingAddChange back to Change when an add fails
If an add failed, we should lose the KeySource, since it, presumably, differs due to a change that was made to the file. (The locked down file is already deleted.)
This commit is contained in:
parent
76431520e4
commit
bda237f14a
2 changed files with 6 additions and 1 deletions
|
@ -302,7 +302,7 @@ handleAdds delayadd cs = returnWhen (null incomplete) $ do
|
|||
recordedInodeCache k
|
||||
|
||||
failedingest change = do
|
||||
refill [change]
|
||||
refill [retryChange change]
|
||||
liftAnnex showEndFail
|
||||
return Nothing
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue