From e3154828f5f44071536c19044ea14240efd9880c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Jan 2014 13:31:03 -0400 Subject: much better command action handling for sync --content --- Assistant/Drop.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Assistant/Drop.hs') diff --git a/Assistant/Drop.hs b/Assistant/Drop.hs index 03ab5ab2c..3020b0f4f 100644 --- a/Assistant/Drop.hs +++ b/Assistant/Drop.hs @@ -14,6 +14,7 @@ import Assistant.Common import Assistant.DaemonStatus import Annex.Drop (handleDropsFrom, Reason) import Logs.Location +import RunCommand {- Drop from local and/or remote when allowed by the preferred content and - numcopies settings. -} @@ -22,4 +23,4 @@ handleDrops _ _ _ Nothing _ = noop handleDrops reason fromhere key f knownpresentremote = do syncrs <- syncDataRemotes <$> getDaemonStatus locs <- liftAnnex $ loggedLocations key - liftAnnex $ handleDropsFrom locs syncrs reason fromhere key f knownpresentremote + liftAnnex $ handleDropsFrom locs syncrs reason fromhere key f knownpresentremote callCommand -- cgit v1.2.3