PyCharm integration with Subversion provides the possibility to compose a list of branches you work with. This list will be displayed every time you select a branch to perform any kind of operation on, for example, to synchronize your working copy, compare branches, etc. This saves your time because you no longer need to scroll through the entire tree of branches in the repository. Another advantage is that you can reference any branch from your list by the branch name instead of specifying its location through the entire URL address.

Branches are configured in the Configure Subversion Branches dialog box.

    1. In the Changes tool window, open the Repository tab, click the Highlight Integrated toolbar button highlightIntegrated to have the Merge Info pane displayed.
    2. Click the Browse button browseButton.png or press Shift+Enter.
    3. In the Select Branch pop-up dialog box that opens, choose Configure Branches.
    1. On the main menu, choose VCS | Subversion | Update File/Directory, or VCS | Update Project.
    2. In the Update Project/Directory dialog box that opens, click the Browse button browseButton or press Shift+Enter to select the path to the target branch.
    3. In the Select Branch pop-up dialog box that opens, choose Configure Branches.
  1. Open the Configure Subversion Branches dialog box.
  2. In the Trunk Location text box, specify the URL address that identifies the trunk of your repository. Type the URL address manually or click the Browse button browseButton.png and appoint the trunk manually in the Select Repository Location dialog box that opens. The dialog box shows a tree of all branches and tags under the repository root.
  3. In the Branch Locations area, compose a list of branches that you need in your work.
    • To have an item included in the list, click the Add button and choose the required branch in the Select Repository Location dialog box that opens.
    • To exclude an item from the list, select the required item and click the Remove button.

    Now you can reference any branch from the list by the branch name instead of specifying the entire URL address.

See Also

Concepts:

Procedures:

Reference:

Web Resources: