public void EnableRepositorySynchronization(string repoName)
{
lock (this.repo_lock)
{
foreach (RepoBase aRepo in this.repositories)
{
if (aRepo.Name.Equals(repoName))
{
if ( ! aRepo.Enabled)
{
aRepo.Enable();
Logger.Debug("Requested to resume sync of repo " + aRepo.Name);
}
}
}
}
}