Compare with branch in Subversion
Install the Subversion plugin
This functionality relies on the Subversion plugin, which you need to install and enable.
Press Control+Alt+S to open the IDE settings and then select
.Open the Marketplace tab, find the Subversion plugin, and click Install (restart the IDE if prompted).
In addition to the common ways to compare file versions, you can use the special command that lets you compare a file from your local working copy with its version in the selected branch.
Select the desired file in the Project tool window, or open it in the editor.
From the main VCS menu, or the context menu of the selection, choose Subversion | Compare with Branch.
In the Compare with Branch popup, select the desired branch. The Compare with Branch dialog in the form of the Differences viewer for files appears.