Lock objects
When you lock the local object, the object on the source control
server will be locked correspondingly. Locking the object can prevent
the other users committing changes to them.
You can lock PBW, PBT, and source files of PBLs; but cannot lock
PBL, PBD, or PBX files.
To lock objects in the SVN source control system:
-
Right-click the workspace, target, library, or object in the
System Tree and select SVN Get Lock from the pop-up menu. -
Select the files or objects you want to lock and then click
OK.PowerBuilder locks the file or object in the SVN source
control system and adds the “SVN Release Lock” option to the
pop-up menu.
To unlock objects in the SVN source control system:
-
Right-click the workspace, target, library, or object in the
System Tree and select SVN Release Lock from the pop-up
menu. -
Select the files or objects you want to unlock and then
click OK.PowerBuilder unlocks the file or object in the SVN source
control system so that other users can commit changes to
them.
The file or object will be automatically unlocked when you
commit the file or object to the server by performing SVN Commit,
unless you select the “Keep locks” option in the SVN Commit dialog
box.