git-annex/Remote/Helper
Joey Hess 0ffc59d341
change retrieveExportWithContentIdentifier to take a list of ContentIdentifier
This partly fixes an issue where there are duplicate files in the
special remote, and the first file gets swapped with another duplicate,
or deleted. The swap case is fixed by this, the deleted case will need
other changes.

This makes retrieveExportWithContentIdentifier take a list of allowed
ContentIdentifier, same as storeExportWithContentIdentifier,
removeExportWithContentIdentifier, and
checkPresentExportWithContentIdentifier.

Of the special remotes that support importtree, borg is a special case
and does not use content identifiers, S3 I assume can't get mixed up
like this, directory certainly has the problem, and adb also appears to
have had the problem.

Sponsored-by: Graham Spencer on Patreon
2022-09-20 13:19:42 -04:00
..
Chunked incremental checksum on download from ssh or p2p 2021-02-09 17:03:27 -04:00
AWS.hs include credPairRemoteFields in RemoteConfigParsers 2020-01-15 10:57:45 -04:00
Chunked.hs use RawFilePath version of rename 2022-06-22 16:47:34 -04:00
Encryptable.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
ExportImport.hs change retrieveExportWithContentIdentifier to take a list of ContentIdentifier 2022-09-20 13:19:42 -04:00
Git.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Hooks.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Http.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Messages.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
P2P.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
ReadOnly.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
Special.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00
Ssh.hs avoid no longer necessary piping of ssh stderr for p2pstdio 2022-01-03 12:54:40 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00