repo: Add Initialize method for lengthy ctor operations

This commit is contained in:
Hylke Bons 2012-01-18 16:59:44 +00:00
parent fb82977b97
commit b734569abe
2 changed files with 7 additions and 0 deletions

View file

@ -130,6 +130,12 @@ namespace SparkleLib {
SyncUpBase ();
};
}
public void Initialize ()
{
// Sync up everything that changed
// since we've been offline
if (AnyDifferences) {

View file

@ -622,6 +622,7 @@ namespace SparkleShare {
UpdateState ();
};
repo.Initialize ();
Repositories.Add (repo);
}