1. ATK Gimmy Susan
  2. PowerBuilder
  3. Thursday, 16 August 2018 15:12 PM UTC
Hello guru

I'm playing with the branches.
From what I understand, whenever I change the branch I have to do a 'refresh'.
is it right?

but .....

I noticed that the exported files on the  folders do not match. In particular there are many more files than objects in the corresponding pbl.
Is this a mistake?

A question arises as follows:
when do I refresh (after a branch change) as a powerbuilder?
a) all objects located in 'ws_objects \ *. pbl.src' are imported into the respective library
b) the library objects are imported again.

As you can imagine if there is no correspondence between files and objects in the * .pbl the result is different.

Thanks in advance for the answers.

ATK Gimmy Susan Accepted Answer Pending Moderation
  1. Monday, 29 June 2020 16:18 PM UTC
  2. PowerBuilder
  3. # 1

I know it.
I have been using branches for a year correctly ....

I hypothesize a bug that is difficult to identify because the underlying cause is not clear to me.

I wanted to know if it happens to someone else too.

For the moment I have made a program that compares the contents of the directory with the contents of the pbl.
This allows me to identify problems.

There are no comments made yet.
armando herrera @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 June 2020 22:46 PM UTC
  2. PowerBuilder
  3. # 2

PowerBuilder IDE provides no direct option for creating or switching to a branch, but you can create and switch to the branch using the feature of a Git client (such as TortoiseGit). The process of switching to the branch is as below (Take TortoiseGit as an example):

  1. Create a branch in TortoiseGit.

  2. Switch to the branch in TortoiseGit.

  3. (Important) Restart PowerBuilder IDE so PowerBuilder IDE can automatically switch to the branch.

  4. (Important) Right-click the workspace and select Refresh to synchronize the object and the PBL file.

  5. Get/Commit objects to the branch using the same options as before (as the master) in PowerBuilder IDE.




Hope it helps, Regards! 

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.