After a PocketBuilder workspace is assigned to a source control project through a connection profile, icons in the PocketBuilder System Tree indicate the source control status of all objects in the workspace. In the Library painter, the same icons also indicate the status of objects if the workspace to which they belong is the current workspace for PocketBuilder.
The icons and their meanings are described in Table 5-3 and Table 5-4.
Compound icons with a red check mark can display only if you add a PK.INI setting to permit multiple user checkouts. These icons are described in the following table:
For more information on allowing multiple user checkouts, see “Checking objects out from source control”.
Pop-up menus for each object in the workspace change dynamically to reflect the source control status of the object. For example, if the object is included in a source-controlled workspace but has not been registered to source control, the Add To Source Control menu item is visible and enabled in the object’s pop-up menu. However, other source control menu items such as Check In and Show Differences are not visible until the object is added to source control.
Additional status functionality is available from the Entry menu of the Library painter. Depending on the source control system you are using, you can see the owner of an object and the name of the user who has the object checked out. For most source control systems, you can see the list of revisions, including any branch revisions, as well as version labels for each revision.
Library painter selections
When a painter is open, menu commands apply to the current
object or objects in the painter, not the current object in the
System Tree. This can get confusing with the Library painter in
particular, since Library painter views list objects only (much
like the System Tree), and do not provide a more detailed visual interface
for viewing current selections, as other painters do.
To view the status of source-controlled objects
In a Library painter view, select the object (or objects) whose status you want to determine.
Select Entry>Source Control>Source Control Manager Properties.
A dialog box from your source control system displays. Typically it indicates if the selected file is checked in, or the name of the user who has the file checked out. It should also display the version number of the selected object.
Displaying the version number in the Library painter
You can display the version number of all files registered
in source control directly in the Library painter. You add a Version
Number column to the Library painter List view by making sure the
SCC Version Number option is selected in the Options dialog box
for the Library painter.
For more information, see “Displaying libraries and objects”.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |