@Nullable
  private @Nls String buildTitle(@NotNull Repo currentRepository) {
    if (ExperimentalUI.isNewUI()) return null;

    String vcsName = myVcs.getDisplayName();
    return myInSpecificRepository ?
           DvcsBundle.message("branch.popup.vcs.name.branches", vcsName) :
           DvcsBundle.message("branch.popup.vcs.name.branches.in.repo", vcsName, DvcsUtil.getShortRepositoryName(currentRepository));
  }
@Nullable
  private @Nls String buildTitle(@NotNull Repo currentRepository)