1. Roland Smith
  2. PowerBuilder
  3. Thursday, 20 February 2020 14:06 PM UTC

Is there a way to tell PB 2019 to only add PB objects to SVN? I installed VisualSVN Server so I could test the SVN interface and it added every file in the workspace.

I would rather use a separate tool like Tortoise to decide which non object files I want to control.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 20 February 2020 19:57 PM UTC
  2. PowerBuilder
  3. # 1

Hi Roland;

   The current implementations of SVN in POB2017Rx or PB2019 GA as such that the IDE wants to register all objects and files within the scope of the Workspace.

Regards ... Chris

PS: I use VisualSVN for all my development where I need SCC. Its an "awesome" SCM IMHO. Free too.  ;-)

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 20 February 2020 20:22 PM UTC
  2. PowerBuilder
  3. # 2

I've only done limited testing but I think that the scc status icons aren't always displayed correctly (PB 2019 GA).

In normal use the icons are correct. I copied a PBL from a different location and overwrote the controlled one. The objects that are new have no status icon at all and the ones I change after the copy show a plus instead of checkmark.

Is the SVN interface saving status info inside the PBL?

 

 

Comment
  1. Tom Jiang @Appeon
  2. Friday, 21 February 2020 07:13 AM UTC
Remember that there are also associated objects in ws_objects folder. So, in addition to copying the PBL, you also need to copy these objects from where the new PBL comes from and put them in the corresponding folder in the ws_objects in the current workspace.



Actually, you don't really need to copy the PBL. You just need to copy the objects of that PBL and put them in the corresponding folder in the ws_objects in the current workspace. And then you need to do a Refresh in PB IDE, and that will update all the icons.



If the copied PBL is not in source control so it's not easy for you to get each individual object file, you can do an Add to Source Control and choose Git, which will create a local repository (no Git server needed) and export all objects under the ws_objects folder.
  1. Helpful
There are no comments made yet.
Tom Jiang @Appeon Accepted Answer Pending Moderation
  1. Friday, 21 February 2020 05:55 AM UTC
  2. PowerBuilder
  3. # 3

When you do the Add to Source Control, PB IDE will list all the files in the working folder. You can deselect the items you don't want to add to SVN before you click the OK button. 

Comment
  1. Roland Smith
  2. Friday, 21 February 2020 11:39 AM UTC
I noticed that but we have over 12,000 objects in our app so scrolling through the entire list would be time consuming. It would help if there were some options at the top that would help. For example 'Select PBL Files' being unchecked would automatically uncheck all the PBL files. Another option could be 'Only PB Objects'.
  1. Helpful
  1. Tom Jiang @Appeon
  2. Tuesday, 25 February 2020 07:47 AM UTC
Thanks for your suggestion! I've transferred it as an enhancement request to our Product Team to analyze for a solution in a future release.
  1. Helpful
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.