6.7. Examining the CVS Repository


You want to explore the CVS repository from inside Eclipse.


Use the CVS Repository Exploring perspective. Open this perspective by selecting Window Open Perspective Other CVS Repository Exploring. Or, if you’ve opened this perspective in the past—which means Eclipse will have added it to the Open Perspective menu—select Window Open Perspective CVS Repository Exploring.


The CVS Repository Exploring perspective enables you to see what’s inside the CVS repository. For example, you can see the entire GreetingApp project, all the way down to the GreetingClass.java file, in the CVS Repositories view at left in Figure 6-8.

The CVS repository perspective

Figure 6-8. The CVS repository perspective

This project, GreetingApp, is in the repository’s HEAD section, which is the main development stream.


Also note the CVSROOT directory, which holds CVS administrative data; the Branches node, which holds any files in other branches of development; and the Versions node, which holds explicitly labeled versions.

Eclipse 3.0

In Eclipse 3.0, you can determine who’s responsible for a bug. You right-click a file and select Team Show Annotation to open a CVS Annotation view showing the selected file in the CVS Repositories view. When you select a line in the editor, the CVS Annotation view reveals who released that edit to the file.

See Also

Recipe 6.8 on checking projects out ...

Get Eclipse Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.