private void swapSides() {
    boolean swapSides = myVcsSettings.shouldSwapSidesInCompareBranches();
    myVcsSettings.setSwapSidesInCompareBranches(!swapSides);

    refreshView(true);
  }
private void swapSides()