@NotNull
  public VcsDirectoryMapping getMapping() {
    AbstractVcs vcs = myVCSComboBox.getItem();
    String vcsName = vcs != null ? vcs.getName() : "";
    String directory = myProjectRadioButton.isSelected() ? "" : toSystemIndependentName(myDirectoryTextField.getText());
    return new VcsDirectoryMapping(directory, vcsName, myMappingCopy.getRootSettings());
  }
@NotNull
  public VcsDirectoryMapping getMapping()