From 840ef0b9619cb8f761e96d840e72902d37b0c1b6 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 31 Oct 2014 16:37:13 +0000 Subject: [PATCH] repo base: Don't call SyncUp on Resume when there aren't any changes --- SparkleLib/SparkleRepoBase.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 32f38365..8dd76925 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -593,7 +593,12 @@ namespace SparkleLib { this.local_config.SetFolderOptionalAttribute (Name, "paused", bool.FalseString); Status = SyncStatus.Idle; - SyncUpBase (); + if (HasUnsyncedChanges || HasLocalChanges) { + do { + SyncUpBase (); + + } while (HasLocalChanges); + } } }