From 3b9cb28fead473d95cf880f4bf865e5cca20e91f Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 22 May 2011 16:05:11 +0100 Subject: [PATCH] repo: get the remote changes if detected on a first connect --- SparkleLib/SparkleRepoBase.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 9646908e..600b29de 100644 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -251,7 +251,8 @@ namespace SparkleLib { this.is_polling = false; // Check for changes manually one more time - CheckForRemoteChanges (); + if (CheckForRemoteChanges ()) + SyncDownBase (); // Push changes that were made since the last disconnect if (HasUnsyncedChanges)