This commit is contained in:
Joey Hess 2023-10-14 14:33:38 -04:00
parent c268dc5878
commit 892d87efa4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,15 @@
Importing a tree from a special remote
when it has a preferred content configured currently only works when the
expression does not use any terms that operate on keys.
(Eg things like copies=).
[[!commit e06feb7316af35b1277b7159a74c216c8f2e7422]]
implemented that. Could it be extended to also support
using it with an expression that does operate on keys?
This would probably entail making any term of the expression that needs a
key evaluate to true. Then it would import all files
(that match also terms that don't need a key). After the import, it may
turn out that the special remote doesn't want to contain particular content
that was imported from it, and it would make sense that an export to the
special remote would remove those files. --[[Joey]]