all keys are still present on versioned remote after import of a tree

When importing from versioned remotes, fix tracking of the content of
deleted files.

Only S3 supports versioning so far, so only it was affected.

But, the draft import/export interface for external remotes also seemed to
need a change, so that versionedExport could be set.
This commit is contained in:
Joey Hess 2022-10-11 13:04:33 -04:00
parent e22c3b3d7c
commit c2ad84b423
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 35 additions and 9 deletions

View file

@ -13,3 +13,4 @@ Observed with several versions from 8-10 on linux. As laid out above, I strongly
Lots. I love git-annex.
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-10-11T16:28:39Z"
content="""
This looks like a simple fix. After importing from a versioned remote,
it can just skip updating the location logs to remove the keys that are not
present in the current tree. The same as is already done when exporting
to a versioned remote. I've made that change.
"""]]