GoLand 2018.1 Help

Update Project Dialog (Subversion)

Use this dialog box to update the local working copy of a file, directory, or project with a revision from the repository.

Item

Description

Update/Switch to specific Url

Select this checkbox to synchronize your local working copy with a specific repository. Specify the source repository either in the URL text box through its full Url address or in the Use Branch text box through the branch name.

Clear this checkbox to bring the changes from the repository that corresponds to the current working copy.

Use Branch

In this text box, specify the location of the required repository through its branch name. Click Browse to choose the required branch in the Select Branch dialog box that opens.

To use this method of specifying the required repository, you need to configure a list of branches you work with. If you have not done it yet, click Configure Branches in the Select Branch dialog box.

The text box is enabled only when the Update/Switch to specific Url checkbox is selected.

Url

In this text box, specify the location of the required repository through its full URL address. Click Browse to open the Select Repository Location dialog box.

The text box is enabled only when the Update/Switch to specific Url checkbox is selected.

Update/Switch to specific revision

Select this checkbox to synchronize your local working copy with a specific revision different from the HEAD revision. The Update/Switch to specific revision text box becomes enabled. In this text box, specify the number of the revision to be used. Click Browse to open the Changes Browser dialog box. By default, GoLand suggests to update your local working copy the HEAD revision. This option corresponds to the --non-recursive (-N) switch of the Subversion update command.

Depth

Use this drop-down list to specify the range of recursion into subdirectories. The available options are:

Working copy - select this option to get files/directories from repository subtrees that have not been checked out yet.

Empty: select this option to involve only the current file.

Files: select this option to involve the files in the folder.

Immediates: select this option to involve direct children of the current file.

Infinity: select this option to enable full recursion.

Force Update

Select this checkbox to have local files replaced with the files from the repository even if the local files have modifications and thus abandon the local modifications.

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.