CVS Repositories view

The CVS Repositories view, which is part of the CVS Repository Exploring perspective, shows the CVS repository locations that you have added to your Workbench. Expanding a location reveals the main trunk (HEAD), project versions and branches in that repository. You can further expand the project versions and branches to reveal the folders and files contained within them.

The pop-up menu for this view also allows you to specify new repository locations. Use the CVS Repositories view to check out resources from the repository to the Workbench, configure the branches and versions shown by the view, view resource history, and compare resource versions.

Here is what the CVS Repositories view looks like:

CVS Repositories View

Like other views in the Workbench, the CVS Repositories view has its own toolbar. Toolbar buttons are provided for refreshing the view, navigating and creating new repository locations. The toolbar also contains a drop-down menu that allows the user to filter the view by working set.

 

Toolbar

 

Go Home

This command redraws the view, showing the repository locations as the roots displayed by the view.

 

Go Back

This command redraws the view, showing the roots that where displayed immediately prior to the previous issued Go Into command.

 

Go Into

This command redraws the view, making the children of the selected entry the roots displayed by the view.

 

Refresh View

This command refreshes the contents of the Repositories view.

 

Collapse All

This command collapses all expanded entries in the Repositories view.

 

Add CVS Repository

This command brings up the wizard to help you specify a new repository location.

Drop-Down Menu

The drop down menu in the title bar allows the repositories view to be filtered by a working set.

 

Context menu

From the context menu of the Repositories view you can perform a number of interesting operations.

 

New > Repository Location 

This command brings up the wizard to help you specify a new repository location (same as Add CVS Repository toolbar item).

 

New > Date Tag

This command, available on the repository location and Dat category entries, brings up the dialog which allows the specification of a date tag that is to be added to the Date category of the location entry in the Repositories view.

 

Check Out

This command checks the selected CVS modules out into projects in the Workbench with the same names as the remote mdoules (for remote modules that are folders on the server) or into projects with the name specified with the module (if the module is defined in the CVSROOT/modules file on the server).

 

Check Out As...

This command open the Check Out wizard in order to allow the configuration of how the selected remote modules are checked out into the Workbench.

 

Tag as Version...

This command versions the selected resource based on the current branch contents.

 

Tag with Existing...

This command versions the selected resource based on the current branch contents, moving the tag from previously tagged resources if required.

 

Compare

This command will compare two selected resources.

 

Compare With...

This command will compare the selected folder with a branch or version of the same folder.

 

Configure Branches and Versions

This command brings up the wizard to help you discover the branch and version tags that exist in the repository for the selected folder so they can be added to the repositories view to allow the resources that have these tags can be browsed.

 

Refresh Branches and Versions

This command, available on repository location entries, allows you to refresh the list of known branches and versions that are displayed in the repositories view for selected projects. This operation makes use of the defined auto-refresh files for each project. If the operation fails for a particular project, use Configure Branches and Versions on the project to select one or more appropriate refresh files.

 

Add to Branch List...

This command adds the selected project to the list of projects that are displayed under the specified branch in the repositories view. This command only modifies the repositories view and does not effect the repository in any way. If you want to add the project to a branch, you can perform a Tag with Existing after performing this operation.

 

Open

This command opens the selected file in an editor.  Since file revisions in the repository are immutable, the editor opens in a read-only state, so it is not modifiable. 

 

Show Annotation

This command shows the contents of file with annotations identifying the author of each line of code in the file.

 

Show in Resource History

This command shows the revision history of the selected file in the CVS Resource History view.

 

Properties

Available on repository location entries, this command allows the modification of any of the proeprties of the location. It also allows the assignment of a display name and a server encoding which is used to translate file paths and commit comments between the client and server (but does not affect file contents).

Related concepts
Team programming with CVS
CVS Repositories
Branches
Versions
Local history

Related tasks
Creating a CVS repository location
Discarding a CVS repository location
Refreshing the CVS repositories view
Changing the properties of a CVS Repository Location
Checking out a project from a CVS repository
Replacing resources in the Workbench
Sharing a new project using CVS
Viewing a file's revision history

Related reference
CVS
CVS Resource History View