copyToRemote should return True when the remote already has the key
This got broken in commit e9238e9588
.
I observed a key that had been copied to a remote, but the location
log was out of date, and due to this bug, git annex transferkey failed
and so the file could not be dropped when it was moved to an archive
directory.
This commit is contained in:
parent
b889721afd
commit
69ab9701eb
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ copyToRemote r key file p
|
|||
u <- getUUID
|
||||
-- run copy from perspective of remote
|
||||
liftIO $ onLocal (repo r) $ ifM (Annex.Content.inAnnex key)
|
||||
( return False
|
||||
( return True
|
||||
, do
|
||||
ensureInitialized
|
||||
download u key file noRetry $
|
||||
|
|
Loading…
Add table
Reference in a new issue