repo: Add Initialize method for lengthy ctor operations
This commit is contained in:
parent
fb82977b97
commit
b734569abe
|
@ -130,6 +130,12 @@ namespace SparkleLib {
|
|||
SyncUpBase ();
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void Initialize ()
|
||||
{
|
||||
// Sync up everything that changed
|
||||
// since we've been offline
|
||||
if (AnyDifferences) {
|
||||
|
|
|
@ -622,6 +622,7 @@ namespace SparkleShare {
|
|||
UpdateState ();
|
||||
};
|
||||
|
||||
repo.Initialize ();
|
||||
Repositories.Add (repo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue