Clearing the checked-out status of objects – PB Docs 2022

Clearing the checked-out status of objects

Sometimes you need to clear (revert) the checked-out status of
an object without checking it back into source control. This is
usually the case if you modify the object but then decide not to use
the changes you have made. When you undo a checkout on an object,
PowerBuilder replaces your local copy with the latest version of the
object on the source control server. For PowerScript and .NET
targets, it compiles and regenerates the object in its target
PBL.

Clearing the status of multiple
objects

If you select the Undo Check Out menu item for a PowerBuilder
target that is checked out to you, and at least one of the objects
in that target is also checked out to you, PowerBuilder displays a
dialog box that prompts you to:

  • Select multiple files contained in the target

  • Undo the checked-out status for the target file
    only

If you select the multiple file option, or if the target file
is not currently checked out to you, the Undo Check Out dialog box
displays the list of objects from that target that are locked by you
in source control. A check box next to each object in the list lets
you choose the objects for which you want to undo the checked-out
status. By default, check boxes are selected for all objects that
are currently checked out to you from source control.

You can also select multiple objects (without selecting a
target) in the List view of the Library painter. The PowerBuilder
SCC API does not let you undo the checked-out status of an object
that you have not checked out of source control. If you use multiple
object selection to select an object that is not checked out to you,
PowerBuilder does not include this object in the list view of the
Undo Check Out dialog box.

To clear the checked-out status of entries

  1. Right-click the object in the System Tree or in a Library
    painter view and select Undo Check Out from the pop-up
    menu

    or

    Select the object in a Library painter view and select
    Entry>Source Control>Undo Check Out from the Library
    painter menu.

    The Undo Check Out dialog box displays the name of the
    object you selected. If you selected multiple objects, the Undo
    Check Out dialog box displays the list of objects in the
    selection that are currently checked out to you. You can also
    display a list of objects that are checked out to you when you
    select a target file.

  2. Make sure that the check box is selected next to the
    object whose checked-out status you want to clear, and click
    OK.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x