Questions? Feedback?powered byOlark live chat software
Bug 1115

Unable to git push/pull within IDE on none master branch 26 October, 2018

Stephen Matthews
15 May, 2018
Product: PowerBuilder Category: IDE
Version: 2017 R2 Publishing: Public
Status: Fixing Priority: P2
Classification: Issue Resolution:
Tom Jiang 26 October, 2018
Hi Stephen,

Our development team is working on supporting this feature. But they still have some technical details to overcome. It is estimated to be implemented on PB 2018 R2. Currently, we suggest that you use TortoiseGit to sync between the Git server and your local working directory to work around the issue (after you switch the branch, restart PB and do a Refresh in the IDE). 

Regards,

Tom Jiang
Stephen Matthews 26 October, 2018
Hi Tom,

Has there been any progress with this bug? I checked the new R3 release and it's still a problem and is blocking us moving to GIT.

Regards,
Steve
Tom Jiang 17 May, 2018
Hi Stephen:

We can reproduce the issue you have. Currently the Push and Pull commands from PB IDE tie to the default master branch. That's why you didn't see how many objects were uploaded as there wasn't any changes in your master branch.

Our development team will analyze and figure out a solution for this issue. We will update you on the progress. 

In the meantime, you can try using TortoiseGit for push and pull operations to work around this issue. 

Regards,

Tom Jiang
Stephen Matthews 17 May, 2018
Hi Tom,

I followed the instructions, after making a change in PB, committing, and then pushing, I get a message saying the push was successful but it does not specify how many objects were uploaded (like it usually does). I check the bitbucket repo and there has been no commit to any branch. When I try to commit/push with Tortoise git it comes up with the object I modified within PB and allows me to commit to the development branch. Also, when I try and pull within PB it fails and then resets the switch back to master.
Stephen Matthews 17 May, 2018
(In reply to Tom Jiang from comment #3)
Hi Stephen,

When you already have a repositoy on Bitbucket, please try the following
steps instead.
1) Open PB IDE without any workspace.
2) Right click on the system tree and choose Connect to Workspace.
3) Set all the fields for source control settings (don't specify the branch
in Git URL).
4) Pull all the files to your working directory from PB IDE.
5) Close PB IDE and switch to your development branch using TortoiseGit.
6) Open PB IDE to work on your code.

Regards,

Tom Jiang
Tom Jiang 16 May, 2018
Hi Stephen,

When you already have a repositoy on Bitbucket, please try the following steps instead.
1) Open PB IDE without any workspace.
2) Right click on the system tree and choose Connect to Workspace.
3) Set all the fields for source control settings (don't specify the branch in Git URL).
4) Pull all the files to your working directory from PB IDE.
5) Close PB IDE and switch to your development branch using TortoiseGit.
6) Open PB IDE to work on your code.

Regards,

Tom Jiang
Stephen Matthews 15 May, 2018
fail_push.PNG (4KB)

Failed push message
Stephen Matthews 15 May, 2018
fail_pull.PNG (5KB)

*Phenomenon:
After creating a development branch in Bitbucket from our master, cloning the branch and connecting the IDE with this branch, I am unable to push/pull within the IDE. I can use TortoiseGit to push/pull any commits made in the IDE however. I can also push/pull to the master branch. The errors that occur on push/pull are attached but are very vague.

*Reproduce Steps:
1) Create development branch from master within bitbucket
2) Clone development branch to a local workspace
3) Open IDE > add to source control > close IDE > set remote within TortoiseGit
4) Open IDE and try to push/pull
OS:
Windows 10 
Platform:
64-bit 
Database Type:
SAP ASE 
Database Version: