CLion 2016.1 Help

Repository and Incoming Tabs

VCS | Show Changes View - Repository/Incoming
View | Tool Windows | Version Control - Repository/Incoming
N/A


The Repository and Incoming tabs are only available for non-distributed version control systems (i.e. 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 higher 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 dialog box.
  • 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.

ItemTooltip and ShortcutDescriptionAvailable In
img Refresh
Ctrl+F5
Click this button to refresh the information in the view. Both tabs
img 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
img 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 box 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
deleteChange Clear Click this button to clear the history cache. The commits list will be emptied. To restore it, click Refresh. Repository
edit1 Edit Revision Comment Click this button to edit the message for the selected commit. Repository
iconUpdateProject.png Update Project
Ctrl+T
Click this button to update the project to the latest available version. Incoming tab
img Expand All
Ctrl+NumPad Plus
Click this button to expand all nodes. Both tabs
img Collapse All
Ctrl+NumPad -
Click this button to collaps all nodes. Both tabs
img Copy
Ctrl+C
Click this button to copy the commit message of the selected changelist to the Clipboard. Both tabs
img Help
F1
Click this button to show the corresponding help topic. Both tabs
highlightIntegrated 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 drop-down list to hide the changelists that are of no interest to you, and only 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 drop-down 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 optio to group the commits by the computer from which they were made.
Both tabs
Search Use this text box 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 img button.

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

Repository tab

Changed files pane

ItemTooltip and ShortcutDescription
img Show Diff
Ctrl+D
Click this button to show the differences between the current and the previous revision of the selected file.
img 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.
img Open Repository Version Click this button to open the repository version of the selected file.
rollback Revert Selected Changes Click this button to revert the changes to the selected file and roll back to its previous revision.
integrateToBranch Integrate to Branch Click this button to integrate the changes from the selected file to the target branch.
propertiesDiff 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.

iconShowHistory.png Show History Click this button to open the History view of the selected file in the Version Control tool window.
img Group by Directory
Ctrl+P
Click this button to transform a flat list of files into a tree of packages with files.
img Expand All
Ctrl+NumPad Plus
Click this button to expand all nodes.

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

img 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 higher 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.

ItemTooltip and ShortcutDescription
From Specify the URL address of the source branch.

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

To Do the following:
  • Specify the path to the target branch.

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

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

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

highlightIntegrated Highlight Integrated Click this button to have each changelist in the Changelists pane supplied with an indication of whether it is integrated or not.
integrateToBranch Integrate To BranchClick this button to integrate the selected changelist into the working copy.

The Integrate To Branch dialog box opens.

undoIntegrateToBranch Undo Integrate To BranchClick this button to revert the last integration of the selected changelist into the working copy.
markAsMerged Mark As MergedClick 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 notMerged tomerged.

markAsNotMerged Mark As Not MergedClick 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 tonotMerged.

filterOutIntegrated Filter Out IntegratedClick this button to display only changelists that have not been integrated into the working copy.
filterOutNotIntegrated Filter Out Not IntegratedClick this button to display only changelists that have been integrated into the working copy.
filterOutOthers Filter Out OthersClick 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.

showWorkingCopies Show Working CopiesClick this button to open the Subversion Working Copies Information dialog box.
refresh RefreshClick this button to refresh the information in the Changelists pane.

See Also

Last modified: 20 July 2016