We are upgrading from PB12.1 w SVN to PB 2021 with native SVN. Our libraries all migrated just fine, now we're setting up a new repository. The Add To Source control worked well, but we had trouble being able to lock objects. Our userid/pw was not saved to our local svn. We solved this with the help of support by installing TortoiseSVN and adding/committing text file. We are now able to lock and update objects. The issue we're having now is we can't see each other's locked objects in PB 2021. I can see my own, and I can't lock anything someone else has locked, I just can't see anything that anyone else has locked out until I try to lock something that's already locked. Has anyone else seen this? How did you resolve it? I've added this info to my open ticket.
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- PB 2021 SVN issues
Resolved
PB 2021 SVN issues
- How-to
- Kevin Ridley
- PowerBuilder
- Wednesday, 8 December 2021 22:32 PM UTC
- Tuesday, 14 December 2021 08:24 AM UTC
- PowerBuilder
- # 1
TortoiseSVN in Windows Explorer also has same behavior as PB IDE. It has icons for committed, modified, conflicted, untracked, etc., but doesn't show items locked by other developers.
- Kevin Ridley
- Tuesday, 14 December 2021 13:31 PM UTC
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Tuesday, 14 December 2021 16:54 PM UTC
-
Helpful Loading... Helpful 1
- Kevin Ridley
- Tuesday, 14 December 2021 23:40 PM UTC
-
Helpful Loading... Helpful 0
- Monday, 13 December 2021 13:06 PM UTC
- PowerBuilder
- # 2
I got a reply from Tom Jiang on this for bug 7629. I had mentioned the SVN Update thinking it might be an "Update Status" option, which would be great, but unfortunately he explained that the SVN Update option just basically checks your local repository for objects that may have been edited outside the IDE and brings them into PB. I tried the Refresh menu option also and that doesn't get the server status of objects like we were hoping (actually not sure what it does). Anyway, as I said in the ticket, I can understand not having the ide constantly polling the server to get objects' statuses. But that being said, we ABSOLUTELY need a way for PB to query the SVN server to get the status of objects. I would think the Refresh option would do this, but I guess not. The native SVN implementation is incomplete (imo) without this. If we can lookup in SVN outside of PB and know who has what locked, we should be able to do it from PB.
- Friday, 10 December 2021 07:33 AM UTC
- PowerBuilder
- # 3
Hi Kevin,
This works as designed and it is not bug. With the new SVN/Git integration, you are encouraged to use the merge feature as opposite to traditional check out/check in process.
In other words, you can still work on an object even when it is locked. After the lock is released from the other person, you can do an update on the object and it will merge the other person's changes automatically with your changes into the object in your workspace. You could then commit you changes.
So basically, SVN/Git doesn't not connect to the server until you need to update or commit changes. It has little value or even could cause some issue to constantly connect to the server and refresh the status of all the objects in your workspace. .
BTW, we also suggest that you try the SVN diff and SVN Edit Conflicts on the workspace context menu that helps in the merging process whenever needed.
Regards,
Tom Jiang
- Chris Pollach @Appeon
- Friday, 10 December 2021 19:40 PM UTC
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Friday, 10 December 2021 20:03 PM UTC
-
Helpful Loading... Helpful 0
- Miguel Leeuwe
- Friday, 10 December 2021 22:39 PM UTC
-
Helpful Loading... Helpful 0
- Thursday, 9 December 2021 17:14 PM UTC
- PowerBuilder
- # 4
Thanks Chris.
- Thursday, 9 December 2021 17:10 PM UTC
- PowerBuilder
- # 5
Hi Kevin;
Thanks, I see your issue & latest comments in ticket #7629.
I have asked the main Appeon support team's SCC experts to "chime in" on this problem.
Regards ... Chris
- Page :
- 1
However, you are not allowed to reply to this question.