1. Simon Santoro
  2. PowerBuilder
  3. Tuesday, 2 July 2019 07:12 AM UTC

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
  1. Tuesday, 2 July 2019 12:46 PM UTC
  2. PowerBuilder
  3. # 1

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.
  • Page :
  • 1


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