private @Nullable AbstractVcs getMappingsVcs(@NotNull VcsDirectoryMapping mapping) {
    return AllVcses.getInstance(myProject).getByName(mapping.getVcs());
  }
private @Nullable AbstractVcs getMappingsVcs(@NotNull VcsDirectoryMapping mapping)