Hi all,
If I try to modify an object (add a commandbutton to a window for example) without locking it with "SVN Get Lock", PowerBuilder saves the change into the object but shows the following message:
So, I have the object modified into the PBL but without the possibility to upload it to the repository.
What am I missing ?
PB2019 R2 + SVN with needs-lock property configured.
Regards,
Julián Tagarro
When an object has the need-lock property set, you will not be able to save the object (export the source code for the object to the ws_objects folder) without getting a lock first.
The reason that you see the changes in PB IDE is that the PBL doesn't have the need-lock property set, so the changes are saved in the PBL.
If you do a refresh on the object, it will imports the object in the ws_objects folder and the changes in PB IDE should revert to the original code.
So for your issue, we suggest that you always get the lock before editing any objects or remove the need-lock property if it doesn't fit in your workflow.
Regards,
Tom Jiang
Tom I still believe that this is an issue. With the old "Microsoft Source Safe" you get the error message "Object is not checked out" when you try to save an object that was not checked in.
With your suggestion programmers allways need to remember to lock an object before change it. I dont think this is a practical workflow.
Regards.
____________
Julián Tagarro