diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-20 13:31:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-20 13:31:03 -0400 |
commit | e3154828f5f44071536c19044ea14240efd9880c (patch) | |
tree | d765f4aff353f14c04658aff3d3e384eab1e1224 /Assistant/Threads | |
parent | f03dab3b7c7a0d377d00d65ed4b8af935e97571d (diff) |
much better command action handling for sync --content
Diffstat (limited to 'Assistant/Threads')
-rw-r--r-- | Assistant/Threads/TransferScanner.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Threads/TransferScanner.hs b/Assistant/Threads/TransferScanner.hs index b00195789..60f6dc28b 100644 --- a/Assistant/Threads/TransferScanner.hs +++ b/Assistant/Threads/TransferScanner.hs @@ -29,6 +29,7 @@ import qualified Git.LsFiles as LsFiles import qualified Backend import Annex.Content import Annex.Wanted +import RunCommand import qualified Data.Set as S @@ -158,7 +159,7 @@ expensiveScan urlrenderer rs = unless onlyweb $ batch <~> do present <- liftAnnex $ inAnnex key liftAnnex $ handleDropsFrom locs syncrs "expensive scan found too many copies of object" - present key (Just f) Nothing + present key (Just f) Nothing callCommand liftAnnex $ do let slocs = S.fromList locs let use a = return $ mapMaybe (a key slocs) syncrs |