Next: Working with global ChangeLog file, Previous: The VCS Menu, Up: Version Control System [Index]
This section describes the version control contextual menu displayed when you right-click on an entity (e.g. a file, a directory, a project) from various parts of GPS, including the project view, the source editor and the VCS Explorer.
Depending on the context, some of the items described in this section won’t be shown, which means that they are not relevant to the current context.
Only displayed on a project line. This will remove the selected project from the VCS Explorer.
Expand all VCS Explorer project nodes.
Collapse all VCS Explorer project nodes.
Clear the VCS Explorer.
Query the status of the selected item. Brings up the VCS Explorer.
Update the currently selected item (file, directory or project).
Submits the changes made to the file to the repository, and queries the status for the file once the change is made.
It is possible to tell GPS to check the file before the actual commit
happens. This is done by specifying a File checker
in the
VCS
tab of the project properties dialog. This File
checker
is in fact a script or executable that takes an absolute file
name as argument, and displays any error message on the standard
output. The VCS commit operation will actually occur only if nothing
was written on the standard output.
It is also possible to check the change-log of a file before commit, by
specifying a Log checker
in the project properties dialog. This
works on change-log files in the same way as the File checker
works on
source files.
Open the currently selected file for writing. On some VCS systems, this is a necessary operation, and on other systems it is not.
Show the revision logs for all previous revisions of this file.
Show the revision logs for one previous revision of this file.
Show a visual comparison between the local file and the most recent version of that file in the repository.
Show a visual comparison between the local file and one specific version of that file in the repository.
Show a visual comparison between two specific revisions of the file in the repository.
Show a visual comparison between the corresponding version of the file in the repository and the most recent version of that file.
Only available on a Revision View and over a tag/branch. Show a visual comparison between the corresponding version of the file in the repository and the version of that file in the tag/branch.
Display the annotations for the file, i.e. the information for each line of the file showing the revision corresponding to that file, and additional information depending on the VCS system.
When using CVS or Subversion, the annotations are clickable. Left-clicking on an annotation line will query and display the changelog associated to the specific revision for this line.
Remove the annotations from the selected file.
Edit the current revision log for the selected file.
Edit the global ChangeLog entry for the selected file. see Working with global ChangeLog file.
Clear the current revision associated to the selected file.
Add a file to the repository, using the current revision log for this file. If no revision log exists, activating this menu will create one. The file is committed in the repository.
Add a file to the repository, using the current revision log for this file. If no revision log exists, activating this menu will create one. The file is not committed in the repository.
Remove a file from the repository, using the current revision log for this file. If no revision log exists, activating this menu will create one. The modification is committed in the repository.
Remove a file from the repository, using the current revision log for this file. If no revision log exists, activating this menu will create one. The modification is not committed in the repository.
Revert a locale file to the repository revision, discarding all local changes.
Mark files’ merge conflics as resolved. Some version control systems (like Subversion) will block any commit until this action is called.
Only available on a Revision View and over a tag/branch name. Will switch the tree starting from a selected root to this specific tag or branch.
Only available on a Revision View and over a tag/branch name. Merge file changes made on this specific tag/branch.
Only available on a Revision View and over a revision.
An action to prepare a group-commit in just one-click. This action will:
Just fill the activity log and commit the anonymous activity.
A menu containing all the current activities. Selecting one will add the current file to this activity. This menu is present only if the file is not already part of an activity.
Remove file from the given activity. This menu is present only if the file is already part of an activity.
Only available when the current context contains directory information
Add the selected directory into the VCS.
Remove the selected directory from the VCS.
Commit the selected directory into the VCS. This action is available only if the VCS supports commit on directories, see The VCS node.
Add the selected directory into the VCS. This action is available only if the VCS supports commit on directories, see The VCS node.
Query status for the files contained in the selected directory.
Update the files in the selected directory.
Query status for the files in the selected directory and all subdirectories recursively. Links and hidden directories are not included.
Update the files in the selected directory and all subdirectories recursively. Links and hidden directories not included..
Only available when the current context contains project information
Bring up the VCS Explorer with all the source files contained in the project.
Query the status for all the source files contained in the project.
Update all the source files in the project.
Bring up the VCS Explorer with all the source files contained in the project and all imported sub-projects.
Query the status for all the source files contained in the project and all imported sub-projects.
Update all the source files in the project and all imported sub-projects.
Select the files having the same status as the current selected file.
Only available from the VCS Explorer. This menu controls filtering of the items displayed in the list.
Do not filter out any file from the list in the VCS Explorer.
Filter out all the files from the list in the VCS Explorer.
When disabled, filter out the files with the given status from the VCS Explorer.
Next: Working with global ChangeLog file, Previous: The VCS Menu, Up: Version Control System [Index]