1. Simon Santoro
  2. PowerBuilder
  3. Tuesday, 02 July 2019

My PowerBuilder 2019 workspace is using git as source control system.

I just deleted a datawindow object inside a pbl with right click on object -> delete.

If I open a cmd on the folder I can see the object is deleted, but the delete is not commited or pushed yet:

git status |grep d_test
        deleted:    ws_objects/proj_obj/proj_obj.pbl.src/d_test2.srd

Is there a way to undo the delete?

 

Michael Kramer Accepted Answer Pending Moderation
0
Votes
Undo

Hi Simon,

One way to re-create deleted object when you have its source in a .SRD file is to import the .SRD file back into the same .PBL file. This technique works no matter what kind of source control you use incl. if you use no source control but simply now and then export all objects to source files as an "immediate backup".

HTH /Michael

Comment
There are no comments made yet.
  1. Tuesday, 2 July 2019
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


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