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 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 and for navigating. The toolbar also contains a drop-down menu that allows the user to filter the view by working set.

Titlebar

Go Home

This command redraws the view, showing the repository locations.

Go Back

This command redraws the view, showing the hierarchy that was displayed immediately prior to the current display.

Go Forward

This command redraws the view, showing the hierarchy that was displayed immediately after the current display.

Refresh View

This command refreshes the contents of the Repositories view.

Collapse All

This command collapses all expanded entries in the Repositories view.

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.

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 in Resource History

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

Compare

This command will compare on two or three selected resources.

Compare With...

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

Checkout as Project

This command checks the folder out into a project in the Workbench with the same name as the folder.

Checkout as...

This command checks the folder out into a project in the Workbench into a project configured by the user.

Checkout Into...

This command checks the folder out as a sub-folder of an existing project.

Checkout Out Module

This command checks out the selected module into one or more projects in the workspace.

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.

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


Copyright IBM Corporation and others 2000, 2003