@Override
  public boolean isSyncEnabled() {
    HgProjectSettings settings = ((HgVcs)getVcs()).getProjectSettings();
    return settings.getSyncSetting() == DvcsSyncSettings.Value.SYNC &&
           !MultiRootBranches.diverged(getRepositories());
  }
@Override
  public boolean isSyncEnabled()