git-annex/Remote/Helper
Joey Hess 069d90eab5
prevent removeKey from annexobjects=yes remote when the key is in the exported tree
Removing the key from the annexobjects location when it's in the
exported tree would leave it in the exported tree, and so succeeding
would update the location log incorrectly. But this also can't remove it
from the exported tree, because that would cause import tree to see a
file got deleted. So, refuse to remove in this situation.

It would be possible to remove from the annexobjects location and then
fail. Then if a key somehow got stored in both the annexobjects location
and the exported tree location(s), the duplicate would be resolved. Not
doing this because first, I don't know how that situation could happen,
and second, it seems wrong for a failed remove to have a side-effect
like that.
2024-08-02 16:45:52 -04:00
..
Chunked filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AWS.hs correct obsolete comment 2023-01-31 14:42:26 -04:00
Chunked.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Encryptable.hs prevent using git-remote-annex with unsuitable special remote configs 2024-05-14 13:52:20 -04:00
ExportImport.hs prevent removeKey from annexobjects=yes remote when the key is in the exported tree 2024-08-02 16:45:52 -04:00
Git.hs list proxied remotes and cluster gateways in git-annex info 2024-06-30 11:14:13 -04:00
Hooks.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Http.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Messages.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
P2P.hs Remote.Git removeKey works with annex+http urls 2024-07-24 12:33:26 -04:00
Path.hs implement Unavilable for borg bup ddar directory rsync 2023-08-16 15:48:09 -04:00
ReadOnly.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Special.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Ssh.hs fix http proxying for a local git remote with a relative path 2024-07-28 13:35:51 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00