avoid sync --content trying to sendKey to exporttree remotes
This commit is contained in:
parent
057999f0fc
commit
28e46d947a
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ seek o = allowConcurrentOutput $ do
|
||||||
let gitremotes = filter Remote.gitSyncableRemote remotes
|
let gitremotes = filter Remote.gitSyncableRemote remotes
|
||||||
dataremotes <- filter (\r -> Remote.uuid r /= NoUUID)
|
dataremotes <- filter (\r -> Remote.uuid r /= NoUUID)
|
||||||
<$> filterM (not <$$> liftIO . getDynamicConfig . remoteAnnexIgnore . Remote.gitconfig) remotes
|
<$> filterM (not <$$> liftIO . getDynamicConfig . remoteAnnexIgnore . Remote.gitconfig) remotes
|
||||||
let exportremotes = filter (exportTree . Remote.config) dataremotes
|
let (exportremotes, keyvalueremotes) = partition (exportTree . Remote.config) dataremotes
|
||||||
let importremotes = filter (importTree . Remote.config) dataremotes
|
let importremotes = filter (importTree . Remote.config) dataremotes
|
||||||
|
|
||||||
if cleanupOption o
|
if cleanupOption o
|
||||||
|
@ -199,7 +199,7 @@ seek o = allowConcurrentOutput $ do
|
||||||
exportedcontent <- withbranch $
|
exportedcontent <- withbranch $
|
||||||
seekExportContent (Just o) exportremotes
|
seekExportContent (Just o) exportremotes
|
||||||
syncedcontent <- withbranch $
|
syncedcontent <- withbranch $
|
||||||
seekSyncContent o dataremotes
|
seekSyncContent o keyvalueremotes
|
||||||
-- Transferring content can take a while,
|
-- Transferring content can take a while,
|
||||||
-- and other changes can be pushed to the
|
-- and other changes can be pushed to the
|
||||||
-- git-annex branch on the remotes in the
|
-- git-annex branch on the remotes in the
|
||||||
|
|
Loading…
Reference in a new issue