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
|
@ -57,7 +57,8 @@ calcSyncRemotes = do
|
|||
contentremotes <- filterM (not <$$> liftIO . getDynamicConfig . remoteAnnexIgnore . Remote.gitconfig) $
|
||||
filter (\r -> Remote.uuid r /= NoUUID) syncable
|
||||
let (exportremotes, nonexportremotes) = partition (exportTree . Remote.config) contentremotes
|
||||
let dataremotes = filter (not . importTree . Remote.config) nonexportremotes
|
||||
let isimport r = importTree (Remote.config r) || Remote.thirdPartyPopulated (Remote.remotetype r)
|
||||
let dataremotes = filter (not . isimport) nonexportremotes
|
||||
|
||||
return $ \dstatus -> dstatus
|
||||
{ syncRemotes = syncable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue