PhpStorm 2018.2 Help

Subversion

File | Settings | Version Control | Subversion for Windows and Linux
PhpStorm | Preferences | Version Control | Subversion for macOS
Ctrl+Alt+S icons general settings svg


Use this page to specify the settings to be applied to you project directories that are under Subversion control

Item

Description

Enable interactive mode

Select this option if you want PhpStorm to emulate the behavior when Subversion commands are executed directly from the terminal in the interactive mode (dialogs will pop up where you can input credentials). This is required to handle password/passphrase prompts for svn+ssh repositories, and trust invalid server certificates for https repositories.

Use custom configuration directory

Select this option if you do not want to store Subversion configuration files in the system default location, and specify the path to the custom directory.

Update administrative information only in changed subtrees

This option only applies to working copies older than SVN 1.7 managed by SVNKit.

During synchronization with the server (update), SVN locks your working copy one subtree after another by creating empty lock files in the corresponding administrative .svn directories. After that, SVN starts comparing file hashes to detect which local files need to be synchronized.

When this option is selected, SVN first checks if any files from a subtree have been modified on the server, and locks this subtree (i.e. creates a .svn/lock file) only if such files are detected. This approach improves performance but may cause concurrency issues, for example, with antiviral software.

Presentation

Use this settings page to configure data presentation settings.

Item

Description

Check svn:mergeinfo in target subtree when preparing for merge

Select this option if you want PhpStorm to check the merge tracking information for the target branch before merging to prevent duplicates.

Maximum number of revisions to look back in annotations

Select this option to limit the number of revisions to look back at when calculating annotations, and specify the number of revisions.

Show merge source in history and annotations

Select this option if you want merge sources to be visible in annotations and file history.

Ignore whitespace differences in annotations

Select this option if you want white spaces to be ignored when annotating, and, thus, get more meaningful annotations and cast out senseless ones.

Network

Use this settings page to configure the connection settings.

Item

Description

Use PhpStorm general proxy settings as default for Subversion

Select this option if you want Subversion to use the default PhpStorm proxy settings.

HTTP timeout

Specify the number of seconds to wait for HTTP connection to be established.

SSH connection timeout

Specify the number of seconds to wait for SSH connection to be established.

SSH read timeout

Specify the number of seconds to wait for response.

SSL protocols

In this area, select which SSL protocol you want to use. The available options are:
  • All

  • SSLv3

  • TLSv1

Edit Network Options

Click this button to change Subversion runtime configuration file in the Edit Subversion options related to the network layers dialog.

SSH

Use this settings page to configure the settings used to connect to an SVN server via a tunneling SSH protocol.

Item

Description

SSH executable

Specify the path to the SSH client. Enter the name of the executable file, or click the Browse button browseButton and select the path in the dialog that opens. If not specified, 'ssh' is used by default.

This field is only available if the Password or the Private key option is selected.

User name

Specify the user name for SSH connection. If the user name is explicitly specified in the repository URL, this value will be used and this setting will be ignored.

This field is only available if the Password or the Private key option is selected.

Port

If your server is listening on a non-standard port (22 for svn+ssh://), modify the default value.

This field is only available if the Password or the Private key option is selected.

Password

Select this option if you want to use a password for SSH authentication.

Private key

Select this option if you want to use a private key for SSH authentication.

Path

Specify the path to the private key. Enter the path manually, or click the Browse button browseButton and select the path in the dialog that opens.

Subversion config

Select this option if you want to use the default settings stored in Subversion configuration for SSH connection.

SSH tunnel

This field displays the SSH tunnel settings stored in Subversion configuration. You can modify the value and click the Update button to write this value to the Subversion configuration.

Update

Click this button to check the Subversion configuration and update the value if necessary, or to write the value you have entered to the Subversion configuration.

SVN_SSH

This field displays the environment variable that can be used in the tunnel configuration (by default, SVN_SSH) and is stored in Subversion configuration.

Last modified: 21 November 2018

See Also