1. Ashutosh Varshney
  2. PowerBuilder
  3. Tuesday, 28 September 2021 16:16 PM UTC


My application is under Git source control. I want to move some objects from one library to another. PowerBuilder will not let me copy or move or delete because it is under source control.

How do move objects to other libraries in this case?

Thank You.


Arnd Schmidt Accepted Answer Pending Moderation
  1. Tuesday, 28 September 2021 23:16 PM UTC
  2. PowerBuilder
  3. # 1

Normally you would move (rename) the objects via git in the corresponding ws_objects pbl folders, commit the changes and then do a refresh on both libraries in the powerbuilder system tree.


After the refresh of the PBLs, you should check the old library and delete the "moved" objects.
If you also have the PBL files itself commited / under source control (in Appeon's PowerBuilder language "upload"ed to git) then you should also use "upload PBL" to commit the PBL File (an "Optimize" before upload is not wrong).

Finally...push it.



There are no comments made yet.
Matt Balent Accepted Answer Pending Moderation
  1. Tuesday, 28 September 2021 18:59 PM UTC
  2. PowerBuilder
  3. # 2

Something you could try as an experiment.

Add new object in PB.

Add new object to Source Control

Checkout object and change it

Check it in to establish a history of changes.

Remove object from Source Control.

Disconnect your workspace from Source Control.

Move object in PB to other library.

Re-establish connection to Source Control.

Add object in other library to Source Control (does this work?)

Get Latest from Source Control on everything. (Is object in new library or old one?)

Does object in new location also have the history of changes?

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.