repo: also announce changes after a syncup->down->up

This commit is contained in:
Hylke Bons 2011-05-22 18:12:40 +01:00
parent b1950be6ff
commit b4329eb928

View file

@ -379,14 +379,20 @@ namespace SparkleLib {
SparkleHelpers.DebugInfo ("SyncUp", "[" + Name + "] Error");
HasUnsyncedChanges = true;
if (SyncStatusChanged != null)
SyncStatusChanged (SyncStatus.Error);
SyncDownBase ();
if (SyncUp ())
if (SyncUp ()) {
HasUnsyncedChanges = false;
if (SyncStatusChanged != null)
SyncStatusChanged (SyncStatus.Idle);
this.listener.AnnounceBase (new SparkleAnnouncement (Identifier, CurrentRevision));
} else {
if (SyncStatusChanged != null)
SyncStatusChanged (SyncStatus.Error);
}
}
} finally {