CLion 2023.3 Help

Repository and Incoming tabs

The Repository and Incoming tabs are only available for non-distributed version control systems (that is all VCSs supported by CLion except for Git and Mercurial).

The Repository tab shows the changes committed to the repository under the VCS roots within the current project. The Incoming tab shows the changes committed to the repository by other team members, and not yet checked out locally. Both tabs display the information stored in the history cache. The number of changelists displayed depends on the cache scope.

Each tab contains the following panes:

  • The Changelists pane shows changelists.

  • The Changed Files pane shows the list of files that were modified and committed within the selected changelist.

Note that if you are using SVN 1.5 or later both on the server and in the local working copies, the Repository tab also features a Merge Info pane that configures the view in the other two panes and provides control over integration between branches.

Changelists Pane

The pane shows the changelists committed and stored in the history cache. When you click a changelist, the files affected by the selected commit are displayed in the Changed Files pane.

Committed changelists often correspond to issues in tracking systems. You can have such issues opened in the browser right from the Changelists pane. This functionality has the following prerequisites:

  • The pattern of the bug tracking system is specified in the Issue Navigation Settings Preferences dialog.

  • The corresponding issue number is mentioned in the commit message.

After issue navigation has been configured, issue numbers in commit messages are rendered as links. Clicking such link brings you to the corresponding page of your issue tracker.

Item

Tooltip and Shortcut

Description

Available In

Refresh

Refresh

Ctrl+F5

Click this button to refresh the information in the view.

Both tabs

View details

Show Details

Ctrl+Q

Click this button to show the following information on the selected changelist:

  • Changelist number

  • User and client name

  • Date and time of commit

Both tabs

Patch

Create Patch

Click this button to create a patch based on the selected changelist.

Repository tab

Rollback

Revert Changes

Click this button to create a reverse patch for the selected changelist and roll back the changes made previously. You can use this action to revert changes committed by any user.

The Select Target Changelist dialog opens.

Note that if the reverse patch applies to a version committed earlier, this rollback attempt may fail because of the conflicts with the later changes.

Repository tab

the Clear button

Clear

Click this button to clear the history cache. The list of commits will be emptied. To restore it, click Refresh.

Repository

Edit

Edit Revision Comment

Click this button to edit the message for the selected commit.

Repository

Check out

Update Project

Ctrl+T

Click this button to update the project to the latest available version.

Incoming tab

Expand all

Expand All

Ctrl+NumPad +

Click this button to expand all nodes.

Both tabs

Collapse all

Collapse All

Ctrl+NumPad -

Click this button to collapse all nodes.

Both tabs

Copy

Copy

Ctrl+C

Click this button to copy the commit message of the selected changelist to the Clipboard.

Both tabs

the Help icon

Help

F1

Open a browser and show the corresponding help page.

Both tabs

Highlight integrated

Highlight Integrated

Click this button to have the Merge Info pane displayed.

The button is enabled only when both the server side and the client side use Subversion 1.5.

Repository tab

Filter by

Use this list to hide the changelists that are of no interest to you, and view only the changelists that satisfy a certain criterion.

The following options are available:

  • User: select this option to filter the commits by the user.

  • Structure: select this option to filter the commits by the target module or folder.

  • Client: select this option to filter the commits by the computer from which they were made.

  • None: select this option to turn off filtering and return to the default view.

Both tabs

Group by

Use this list to group changelists following a certain criterion.

The following options are available:

  • Date: select this option to group the commits by date.

  • User: select this option to group the commits by users.

  • Client: select this option to group the commits by the computer from which they were made.

Both tabs

Search

Use this field to enter a search pattern and locate the commits whose commit messages matches the specified string. As you type, the list dynamically reduces to show the changelists with the commit messages that match the specified pattern.

To save the search pattern, press Enter.

To view the list of recent search patterns, click the Find button.

To clear the list of search patterns, click the Clear button.

Repository tab

Item

Tooltip and Shortcut

Description

Diff

Show Diff

Ctrl+D

Click this button to show the differences between the current and the previous revision of the selected file.

Diff

Show Diff with Local

Click this button to show the differences between the selected revision of the selected file and its current local copy.

Edit

Edit Source

F4

Click this button to open the local copy of the selected file for editing.

Edit source

Open Repository Version

Click this button to open the repository version of the selected file.

Roll back

Revert Selected Changes

Click this button to revert the changes to the selected file and roll back to its previous revision.

Integrate to branch

Integrate to Branch

Click this button to integrate the changes from the selected file to the target branch.

Diff

Compare Subversion Properties

This option is only available if you are using Subversion as your version control system.

Click this button to view the differences in file properties between the current version and the previous revision.

History

Show History

Click this button to open the History view of the selected file in the Version Control tool window Alt+9.

Toolbar group by DirIcon

Group by Directory

Ctrl+Alt+P

Click this button to transform a flat list of files into a tree of packages with files.

Expand all

Expand All

Ctrl+NumPad +

Click this button to expand all nodes.

The button is available only when the files in the pane are displayed grouped by directories.

Collapse all

Collapse All

Ctrl+NumPad -

Click this button to collapse all nodes.

The button is available only when the files in the pane are displayed grouped by directories.

Merge Info pane

The pane is available only if you are using SVN 1.5 or later both on the server and in the local working copies.

In this pane, specify a pair of branches whose integration with each other you want to monitor. The Changelists pane will show the changelists related to the specified branches and provide the information on the integration status of each changelist.

You can specify several pairs of branches if several projects or roots are involved.

Item

Tooltip and Shortcut

Description

From

Specify the URL address of the source branch.

CLion suggests the URL address selected in the Checkout from Subversion dialog.

To

Do the following:

  • Specify the path to the target branch.

    Click Ellipsis or press Shift+Enter to open the Select Branch dialog.

  • Specify the path to the local working copy to which you will apply patches created based on the selected changelists.

    Click Ellipsis to open the Configure Working Copy Paths dialog and select a working copy.

Highlight integrated

Highlight Integrated

Click this button to have each changelist in the Changelists pane supplied with an indication of whether it is integrated or not.

Integrate to branch

Integrate To Branch

Click this button to integrate the selected changelist into the working copy.

The Integrate To Branch dialog opens.

Undo integrate to branch

Undo Integrate To Branch

Click this button to revert the last integration of the selected changelist into the working copy.

Mark as merged

Mark As Merged

Click this button to indicate that the selected changelist is integrated into the working copy without actually integrating the changelist.

The action affects the administrative information in the .svn folder.

The icon next to the selected changelist changes from Not merged toMerged.

Mark as not merged

Mark As Not Merged

Click this button to indicate that the selected changelist is not integrated into the working copy without actually reverting integration.

Update the administrative information in the .svn folder.

The icon next to the selected changelist changes from Merged toNot merged.

Filter out integrated

Filter Out Integrated

Click this button to display only changelists that have not been integrated into the working copy.

Filter out not integrated

Filter Out Not Integrated

Click this button to display only changelists that have been integrated into the working copy.

Filter out others

Filter Out Others

Click this button to hide extraneous changelists in the Changelists pane.

Extraneous changelists are changelists that are managed in another VCS or are located under another root.

Show working copies

Show Working Copies

Click this button to open the Subversion Working Copies Information dialog.

Refresh

Refresh

Click this button to refresh the information in the Changelists pane.

Last modified: 15 March 2024