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 checkout 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 toggle the view to show the folders contained in the repository or modules defined in the CVSROOT/modules file.

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.

Drop Down Menu

The drop down menu in the title bar allows the repositories view to be toggled between showing folders and modules. Show Folders shows the direct children of the repository directory on the server. Show Modules shows the modules that are defined in the CVSROOT/modules file of the repository.

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 and add them to the repositories view so the resources that have these tags can be browsed.

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 revison history of the selected file in the CVS Resource History view.

Compare

This command will compare on two or three selected resources.

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.

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
Defining a branch tag
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, 2002