support thirdPartyPopulated
These don't have importTree in their config, because they don't support tree import, but they do still support import, and do not support export or key/value modification.
This commit is contained in:
parent
706e2a63fb
commit
57b03630b3
3 changed files with 7 additions and 4 deletions
|
@ -212,8 +212,9 @@ seek' o = do
|
|||
dataremotes <- filter (\r -> Remote.uuid r /= NoUUID)
|
||||
<$> filterM (not <$$> liftIO . getDynamicConfig . remoteAnnexIgnore . Remote.gitconfig) remotes
|
||||
let (exportremotes, nonexportremotes) = partition (exportTree . Remote.config) dataremotes
|
||||
let importremotes = filter (importTree . Remote.config) dataremotes
|
||||
let keyvalueremotes = filter (not . importTree . Remote.config) nonexportremotes
|
||||
let isimport r = importTree (Remote.config r) || Remote.thirdPartyPopulated (Remote.remotetype r)
|
||||
let importremotes = filter isimport dataremotes
|
||||
let keyvalueremotes = filter (not . isimport) nonexportremotes
|
||||
|
||||
if cleanupOption o
|
||||
then do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue