repo: also announce changes after a syncup->down->up
This commit is contained in:
parent
b1950be6ff
commit
b4329eb928
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue