Removing objects from source control

The PowerBuilder SCC API lets you remove objects from source control, although for some source control systems, you may have to use the source control manager to delete the archives for the objects you remove. You cannot remove an object that is currently checked out from source control.

You cannot delete a source-controlled object from a local PowerBuilder workspace before that object has been removed from source control. There is no requirement, however, that the source control archive be deleted before you delete the object from its PowerBuilder workspace.

StepsTo remove objects from source control:

  1. Select the object in a Library painter view and select Entry>Source Control>Remove From Source Control from the Library painter menu.

    The Remove From Source Control dialog box displays the name of the object you selected.

    If you selected multiple objects or a workspace, the Remove From Source Control dialog box displays the list of objects in your selection that are not currently checked out from source control. You can also display a list of available objects when you select the Remove From Source Control menu item for a target file. A check mark next to an object in the list marks the object as assigned for removal from source control.

  2. Make sure that the check box is selected next to the object you want to remove, and click OK.