Bug 1913

Git: Doing a "Git Revert" is resetting the files marked with the command "git update-index --skip-worktree" 28 April, 2021

François Bitran
22 November, 2018
Product: PowerBuilder Category: IDE
Version: 2017 R3 Build:
Classification: Appeon bug Publishing: Public
Priority: P3
Status: Closed Reason: FIXED
Tom Jiang @Appeon 28 April, 2021
#9
Thank you very much for your response!
We then proceed to close this ticket, please remember that you can always open another ticket in case you need it.

Regards,

Tom Jiang
François Bitran 28 April, 2021
#8
Hi Tom,

Sorry for the lack of reply on my side. We are still stuck with PB17R3 because we cannot upgrade at will in our company.

However, we now mostly use TortoiseGit for our commit/push (and pull, with a PB refresh after) just because this is way faster than going through PB GUI, this offers an easy patch view, and, most importantly, in case of error, we have the detailed message, instead of the "Pull failed" unusable message from PB (I don't know if you improved the Git messages feedback in more recent version of PB, but if not, you should).

So yes you can keep it as fixed.
Thanks for the feedback.
Tom Jiang @Appeon 28 April, 2021
#7
We've made multiple attempts to contact you to determine if this ticket has been solved, but unfortunately we did not get any response and we proceed to close it. 

If you consider this issue is still not resolved, please contact us.

Regards,

Tom Jiang
Tom Jiang @Appeon 17 March, 2021
#6
I'm just touching base with you about this ticket. Please let us know if you still need help with this issue or if it is possible to close this ticket.

Thanks for you feedback and have a nice day!

Regards,

Tom Jiang
Tom Jiang @Appeon 25 January, 2021
#5
Hi François,

Good news that PowerBuilder 2019 R3 GA (build 2670) is available for download. The issue you reported has been fixed in this release. Please download and install it to verify the issue you reported and let us know if any problems. You can get the installer from our Downloads portal at https://account.appeon.com/download/2019 (login required). 
 
We welcome all feedback from you!
 
Regards,
 
Tom Jiang
Tom Jiang @Appeon 11 December, 2020
#4
Hi François,

Good news that PowerBuilder 2019 R3 Beta2 (build 2622) is available for your evaluation. The issue you reported has been fixed in this release. Please download and install it to verify the issue you reported and let us know if any problems. Here is the link for this PowerBuilder 2019 R3 Beta2:
https://file.appeon.com/download/Installer/PowerBuilder/Beta/PowerBuilderInstaller_bootstrapper.exe

We welcome all feedback from you!

Regards,

Tom Jiang
Tom Jiang @Appeon 15 October, 2020
#3
Test DLL

Hi François,

We've fixed this issue in our code and would like to invite you to verify if it resolves the issue on your side. 

You can download and insall the 2019 R3 Beta release from https://account.appeon.com/download

After that please replace the files in C:\Program Files (x86)\Appeon\PowerBuilder 19.0\IDE with the attached ones.

We would really appreciate if you could give us your feedback on this issue and if everything works well, it will be included in the coming 2019 R3 GA release.  

Regards,

Tom Jiang
Tom Jiang @Appeon 26 November, 2018
#2
Hi François,

Thanks for reporting the issue with great details! We can reproduce on our side and will further study for a solution. We will update you when there is any progress. 

The issue where implicit merges may causing uploading of PBLs has been reported by another ticket and we are fixing it. 

Currently, you may removing the PBLs from the source control but keeping a set of unversioned copy in your working directory to workaround the issue.

Regards,

Tom Jiang
Chris Pollach @Appeon 23 November, 2018
#1
Hi Francois;

   Thank you for the great detailed steps on how to reproduce this issue. We'll try and replicate this situation on our side and then get back to you ASAP with our findings.

Regards ... Chris
François Bitran 22 November, 2018
*Phenomenon:
We have a workspace with several (around 70) targets in git, with a bitbucket remote repository. We work without branches (as it's anyway not supported directly by PB2017R3) so we regularly do some push-pull to move changes into the repository (with therefore often implicit merges).
We've seen that those merges upload pbls to the repository, which sounds bad (is it on purpose? I though pbls where supposed to be uploaded only once).
To avoid that, and also avoid messing the current target for the devs, we do this at the initial local git setup (after the Connect to workspace):
git update-index --skip-worktree **/*.pbl
git update-index --skip-worktree workspace.pbw

However, when we do a "Git Revert", all the files that were tagged by those commands are "untagged", which is annoying.
Doing a Revert via for example Tortoise works as expected and does not have such a side effect.

*Reproduce Steps:
Create a dummy workspace with a dummy app, add those to git locally.
Execute the two commands to set the pbls & pbw as "--skip-worktree", do "git ls-files -v . | grep ^S" to check those files are now in "--skip-worktree" mode, change a object in a pbl, save it, and do the revert.
Then do again "git ls-files -v . | grep ^S" and you should see that the files listed before are not listed anymore.

Remark:
OS:
Windows 10
Platform:
Database Type:
Database Version: