CVS: Versioning Window

The CVS Versioning window presents a real-time view of the changes made in your local working copy for selected version-controlled directories. It opens by default in the bottom panel of the IDE, listing added, deleted or modified files.

By default, the Versioning window displays a list of all modified files within the selected package or folder. Using the buttons in the toolbar, you can choose to display all changes or limit the list of displayed files to either locally or remotely modified files. You can click the column headings above the listed files to sort the files by name, status or location.

The Versioning window toolbar also includes buttons that enable you to invoke the most common CVS tasks on all files displayed in the list. The following table lists the CVS commands available in the toolbar of the Versioning window:

Name Function

Refresh Status

Refreshes the status of the selected files and folders. Files displayed in the Versioning window can be refreshed to reflect any changes that may have been made externally.

Diff All

Opens the Diff Viewer providing you with a side-by-side comparison of your local copies and the versions maintained in the repository.

Update All

Updates all selected files from the repository.

Commit All

Enables you to commit local changes to the repository.

You can access other CVS commands in the Versioning window by selecting a table row that corresponds to a modified file, and choosing a command from the right-click menu. You can, for example, perform the following actions on a file:

Element Description

Show Annotations

Displays commit message, author, date, and revision number information in the left margin of files open in the Source Editor.

Search History

Enables you to search for and compare multiple revisions of the selected file in the IDE's history viewer.

Exclude from Commit

Allows you to mark the file to be excluded when performing a commit.

Revert Modifications

Enables you to revert any changes to the copy in your local working directory back to the current version maintained in the repository.

Revert Delete

Enables you to revert any delete actions that you have committed to files in your local working copy. When you invoke the Revert Delete command, the specified file(s) will be retrieved from the repository and reinstated into your local working copy.

You can also exclude files from a commit in the Commit dialog box.

You can select multiple files in the Versioning window by holding down the Ctrl key when you select files.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.