fix sorting

This commit is contained in:
Joey Hess 2013-03-14 14:15:35 -04:00
parent a336a7fc1b
commit 7289f92522

View file

@ -132,7 +132,8 @@ repoList reposelector
syncing <- S.fromList . syncRemotes
<$> liftAssistant getDaemonStatus
liftAnnex $ do
rs <- filter wantedrepo <$> Remote.enabledRemoteList
rs <- filter wantedrepo . concat . Remote.byCost
<$> Remote.enabledRemoteList
let us = map Remote.uuid rs
let make r = if r `S.member` syncing
then mkSyncingRepoActions $ Remote.uuid r