DataGrip 2022.2 Help

Integrate changes to Subversion branch

Install the Subversion plugin

This functionality relies on the Subversion plugin that should be installed and enabled in your IDE.

  1. Press Ctrl+Alt+S to open the IDE settings and select Plugins.

  2. Switch to the Marketplace tab and use the search field to find the Subversion plugin.

  3. Click Install and restart the IDE if prompted.

DataGrip allows you to integrate changes into a selected branch, and commit the results of such integration to the repository. Do the following:

  1. In the Version Control tool window Alt+9, switch to the Repository tab.

  2. Right-click the changelist you want to integrate, and select Subversion | Integrate to Branch from the context menu:

    Svn integrate to branch

    If you want to integrate separate files instead of the whole changelist, select them in the Changed Files pane and choose Subversion | Integrate To Branch from the context menu.

    If you are using SVN 1.5 or later both on the server and in your local working copy, select the relevant changelist/file(s) in the Changelists or Changed Files pane and click Integrate to branch on the toolbar.

    Svn integrate files to branch

    The Integrate to Branch dialog opens displaying the URL addresses of the source and target branches and a list of available local working copies.

  3. From the Integrate into working copy list, select the path to the local working copy into which the selected changelist will be integrated.

    To add a path to the list, click the App general add button.

    To remove a path from the list, click the App general remove button.

  4. To preview the merge result by enabling the --dry-run switch of the svn command, select the Try merge, but make no changes checkbox.

    If this checkbox is not selected, sources are merged silently.

  5. Click OK. The Commit Changes dialog opens.

  6. Review the summary, specify the necessary options, and run commit.

Last modified: 04 August 2022