Using the Versioning Toolbar

See Also

The IDE's version control support includes a Versioning toolbar, which you can use to run common version control commands.

To view the Versioning toolbar:

  1. Right-click an empty space in the toolbar area.
  2. Choose Versioning from the contextual menu.

    By default, the Versioning toolbar is displayed below the other toolbars.

Versioning toolbar buttons execute a different command for each type of version control system in the IDE. When you select nodes from two filesystems mounted with different VCS profiles, the toolbar buttons run a separate command for each profile. You can see which command a button executes by holding the pointer over the button and reading the tool tip.

The following table lists the standard command for each Versioning toolbar button for each version control profile.

Toolbar
Button
CVS Command PVCS Command VSS Command
VCS Update Icon Update Get Check Out
VCS Commit Icon Commit Put Check In
VCS Add Icon Add Add Add
VCS Remove Icon Remove Remove Remove
VCS Diff Icon Diff Diff Diff
VCS History Icon History Status History

Adding Toolbar Buttons for the Built-in CVS Client

For the built-in CVS client, you can add an additional set of buttons to the Versioning toolbar, but you cannot change a toolbar button's command.

To add a toolbar button to the Versioning toolbar:

  1. Choose Tools and choose Options from the main window.
  2. Expand IDE Configuration and expand Look and Feel and expand Actions and expand Versioning and expand CVS Client.
  3. Right-click the command you want to add and choose Copy.

    You can choose from the following commands:

  4. In the Look and Feel node, expand Toolbars and expand Versioning.
  5. Right-click the Versioning node and choose Paste and choose Copy.

    The button appears in the Versioning toolbar.

Changing a Toolbar Button's Command for Generic VCS Filesystems

For generic VCS filesystems, you can use the command editor to assign any command in a generic VCS profile to a Versioning toolbar button. You can apply the change to an individual filesystem or to the VCS profile itself.

To assign a command to a Versioning toolbar button:

  1. Right-click a generic VCS filesystem's icon in the Explorer and choose Customize.
  2. In the Advanced tab of the customizer, click Edit Commands.
  3. Select the command you want to add to the Versioning toolbar. In the Expert tab, click the General Command Action Class Name property and type the class name of the toolbar button that you want to run the command. The class names for the Versioning toolbar buttons are:
  4. Click the Gereral Command Action Display Name property and type the tool tip description of the command.
  5. Click OK to close the command editor.
  6. To save the change to the filesystem only, click Close to close the customizer. To save the change to the VCS profile, do so using the Save As button in the Profile tab of the customizer.
See Also
The Versioning Explorer
Calling Version Control Commands
Global Settings for VCS Filesystems
CVS Commands

Legal Notices