From 6328d368fc73de7c91cb6efa25769297df71897d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Apr 2014 15:23:50 -0400 Subject: assistant: Now detects immediately when other repositories push changes to a ssh remote, and pulls. XMPP is no longer needed in this configuration! Requires the remote server have git-annex-shell with notifychanges support. (untested) This commit was sponsored by Geog Wechslberger. --- Assistant/Sync.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Assistant/Sync.hs') diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs index fc95419ab..c748f6e1a 100644 --- a/Assistant/Sync.hs +++ b/Assistant/Sync.hs @@ -15,6 +15,7 @@ import Assistant.Alert import Assistant.Alert.Utility import Assistant.DaemonStatus import Assistant.ScanRemotes +import Assistant.RemoteControl import qualified Command.Sync import Utility.Parallel import qualified Git @@ -258,6 +259,7 @@ changeSyncable Nothing enable = do changeSyncable (Just r) True = do liftAnnex $ changeSyncFlag r True syncRemote r + sendRemoteControl RELOAD changeSyncable (Just r) False = do liftAnnex $ changeSyncFlag r False updateSyncRemotes -- cgit v1.2.3