As powerbuilder 2017 r3 has integrated GitLab plugin, it is convinent for source control, but how can we manage Git branch as there is long last change parallel with master change, is there any suggestion, so far we have to use tortoisegit clone first, then add source, change and commit,but sometime encounter some confusions, is there best practice?
- Song Tom
- PowerBuilder
- Wednesday, 23 January 2019 17:08 PM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
Now it's clear to me
I found that using the Add to Source Control function does not take account of the existing status of source controlled items. Even if they have been modified locally, all the source is represented as being in sync with the server. For anything in-flight, that will lead to a host of problems.
So neither method addresses the use case of hooking up a new installation of Powerbuilder, even just upgrades, with existing source controlled folders. But I found a workaround for this. After closing Powerbuilder, I renamed the source folder I wanted to hook up to a different name, suppose it was named "source" I renamed it "source_backup". Then I created a new folder named "source", and used "Connect to Workspace" to download the current master to it. Then after closing Powerbuilder again, I discarded the "source" folder and renamed "source_backup" to "source". Similar to the accommodation of branches above, Powerbuilder now shows the folder as being source controlled.