git-annex/Remote
Joey Hess 2a45b5ae9a
avoid failure to lock content of removed file causing drop etc to fail
This was already prevented in other ways, but as seen in commit
c30fd24d91, those were a bit fragile.
And I'm not sure races were avoided in every case before. At least a
race between two separate git-annex processes, dropping the same
content, seemed possible.

This way, if locking fails, and the content is not present, it will
always do the right thing. Also, it avoids the overhead of an unncessary
inAnnex check for every file.

This commit was sponsored by Denis Dzyubenko on Patreon.
2020-07-25 11:59:33 -04:00
..
Directory make storeKey throw exceptions 2020-05-13 14:03:00 -04:00
External async exception safety for external special remote processes 2020-06-09 12:22:14 -04:00
Helper import: Added --no-content option, which avoids downloading files from a special remote 2020-07-03 13:41:57 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs no importKey for android yet 2020-07-03 14:02:50 -04:00
BitTorrent.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Bup.hs fix reversion 2020-06-05 19:06:09 -04:00
Ddar.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Directory.hs simplify interface by removing size 2020-07-03 14:22:22 -04:00
External.hs fix implicit embedcreds regression 2020-06-16 18:00:19 -04:00
GCrypt.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Git.hs avoid failure to lock content of removed file causing drop etc to fail 2020-07-25 11:59:33 -04:00
GitLFS.hs lockContent for S3 (with versioning=yes) and git-lfs 2020-06-26 13:46:42 -04:00
Glacier.hs close stdin handles before waiting on commands 2020-06-05 17:27:49 -04:00
Hook.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
List.hs auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
P2P.hs make retrieveKeyFile and retrieveKeyFileCheap throw exceptions 2020-05-13 17:07:07 -04:00
Rsync.hs fix implicit embedcreds regression 2020-06-16 18:00:19 -04:00
S3.hs no importKey for S3 for now 2020-07-03 13:53:14 -04:00
Tahoe.hs lockContent for tahoe 2020-06-26 14:23:21 -04:00
Web.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
WebDAV.hs fix embedcreds=yes reversion 2020-05-21 14:35:30 -04:00