public void onBranchSelected(@NotNull Url url, @Nullable String selectedLocalBranchPath, @DialogTitle @Nullable String dialogTitle) {
    if (myCurrentBranch.equals(url)) {
      showSameSourceAndTargetMessage();
    }
    else {
      Pair<WorkingCopyInfo, Url> pair = selectWorkingCopy(url, selectedLocalBranchPath, dialogTitle);

      if (pair != null) {
        runIntegrate(url, pair.first, pair.second);
      }
    }
  }
public void onBranchSelected(@NotNull Url url, @Nullable String selectedLocalBranchPath, @DialogTitle @Nullable String dialogTitle)