SCM Menu (with Version Management)

ASCET-SCM adds the SCM menu to the menu bar in the ASCET component manager.

This topic describes the content of the SCM menu when the database/workspace is connected to Subversion, both in online and offline mode.

Note

Most commands of the SCM menu are available as Source Control context menu in the "Database" or "Workspace" list of the Component Manager, in the Outline tab of the component editors, and in the drawing area of block diagrams.

Some of the commands included in the SCM menu are also available via toolbar icons.

Online Mode

Note

According to whether the Simple Mode user interface is activated or deactivated, dialog boxes will be shown in Simple Mode or Advanced Mode.

ClosedSource Control

The Source Control submenu of the SCM menu contains the following options.

ClosedShow

The Show submenu of the SCM menu contains the following options.

Single-clicking an item in the list returned by the Show submenu options moves the ASCET database/workspace item selection to the corresponding item. Double-clicking on an item opens the corresponding item editor.

Checkout

Displays the Checkout dialog box in Simple Mode or Advanced Mode which enables you to check out items from the repository so that these can be edited in ASCET. See also: Checking out.

Update

Note

If a folder is selected, this command does not search for items in the same folder that exist in the repository but not yet in the ASCET database/workspace. To retrieve new items, use the Checkout command.

Displays the Update dialog box in Simple Mode or Advanced Mode. In the Update dialog box, you can select items to be refreshed by applying current data related to these items from the Subversion repository. See also: Updating.

Update to Latest Revision

Retrieves the most recent data for the selected items from the Subversion repository.

Get Lock

Locks (reserves) the selected items exclusively for you in the repository. While in the locked state, items can be edited only by you; other users cannot access these items at the same time. Other users who try to access an item locked by someone else will see a padlock in the item's icon in the browser tree. See also: Locking and Unlocking.

Commit

Stores the current status of the selected items (including your edits) as a new version in the Subversion repository. See also: Committing.

Add and Commit

Adds the currently selected items to version control and stores their current status (including your edits) as a new version in the Subversion repository. The Add and Commit dialog box prompts you to complete this procedure.

Check for Modifications

Compares all selected items that are under version control to their current status in the repository.

The items checked for modifications are listed in a separate dialog box.

Show Log

Reads the Subversion history of the selected items in ASCET, retrieves the current history status of these items from the Subversion repository, and displays the result in the Show Log dialog box.

Properties

Displays the Version Details dialog box for the selected item.

ClosedConfiguration Management

ClosedAdditional Commands

The Additional Commands submenu of the SCM menu or the Source Control context menu contains the following options.

ClosedIncluding References

To handle entire groups of ASCET items in Subversion, some of the commands in the SCM menu or the Source Control context menu are also available for selected items together with all their references. They can be found in the Including References submenu.

Offline Mode

In offline mode, the SCM menu contains

ClosedSource Control

The Source Control submenu of the SCM menu contains the following options.

ClosedShow

The Show submenu of the SCM menu contains the following options.

Single-clicking an item in the list returned by the Show submenu options moves the ASCET database/workspace item selection to the corresponding item. Double-clicking on an item opens the corresponding item editor.

Connect to Repository

Shown in offline mode only. Switches to online mode by connecting the Subversion driver to the repository URL. Note that you can disconnect from the Subversion repository by selecting DisconnectfromRepository from the Additional Commands submenu. See also Online versus Offline Mode.

Edit without Lock

Makes the selected items editable without locking them in the Subversion repository. Consequently, other users are not notified when they try to edit the same item. Therefore, this command requires caution.

This command is mainly intended for temporary tests which will not yield a new revision, or to support changes in ASCET in offline mode (i.e. while you do not have access to the selected Subversion repository server, e.g. during field tests). See also Editing Items in Offline Mode.

See also

SCM Menu (without Version Management)

Toolbar

Version Handling Based on Subversion

Repository