Has anyone moved from Git using MSSCCI to native Git in PB 2019R3 and been able to maintain source control history? Given that native Git in PB (as of 2017R2) creates a sub-folder named "ws_objects" for the source controlled object files (*.sr?), is there anyway to migrate the source control history from the MSSCCI Git object files to the "ws_objects" sub-folder?
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Move from MSSCCI Git to PB 2019R3 Native Git
- Tim Ford
- PowerBuilder
- Wednesday, 9 June 2021 16:15 PM UTC
- Monday, 14 June 2021 14:10 PM UTC
- PowerBuilder
- # Permalink
Thanks for all the replies. It looks like we're going to create a new repository using the PB 2019R3 IDE and archive the old repository with all the history.
- Wednesday, 9 June 2021 19:49 PM UTC
- PowerBuilder
- # 1
I didn't bother to try. I just created a new repository for the native git approach.
Back in the day when we migrated from PVCS to SVN we went through a lot of effort to ensure that we carried all the source code change history across. Looking back at that now I can't think of any time when that information was useful, and if I had needed it I could have looked it up in the old system (up to the point where we completely decommissioned it). Given that the old repository will still be in Git for a while it doesn't face that issue.
- Thursday, 10 June 2021 07:07 AM UTC
- PowerBuilder
- # 2
Hi Tim,
To keep the history you have to move the objects to ws_objects directory structure youself. Use an external Git tool like TortoiseGit to move the objects. Also to do: delete PBG files, add PBL files
You will see the history also for the old (moved) objects if you use the Log of TortoiseGit and use the "Walk Behaviour" called "Follow renames".
HTH,
René
- Benjamin Gaesslein
- Thursday, 10 June 2021 07:43 AM UTC
-
Helpful Loading... Helpful 0
- Thursday, 10 June 2021 07:21 AM UTC
- PowerBuilder
- # 3
Can MSSCCI be moved to git (regardless of Powerbuilder) with the history intact? If so, just move to git first and add all your PBLs and workspaces (from a currently working copy that was fully built without errors) to the repo. Then let PB do its thing by connecting to the git repo you just created using "Connect to workspace". PB will download the repo and move the source files to ws_objects. Manually delete all .sr* and .pbg files from folders *other* than ws_objects and commit and push your working copy to the git repo. Git will keep track of the changes, including changed paths. (git --follow)
Edit: wait, I misread the question, MSSCCI is already using git, innit? In this case there's less work, just migrate to native PB git, git --follow should just work.
- Thursday, 10 June 2021 21:50 PM UTC
- PowerBuilder
- # 4
(Re-Post with correct account)
Hi Tim,
a few years ago we had the same problem.
We wanted to keep the source code history, but wanted also to switch from Team Foundation Server to git.
In the end we decided to transfer the source code history to a separate project within git without changing the folder system.
We have uploaded the current source code to another project with the Powerbuilder IDE.
As a result, we only have to work company-wide with one tool and the complete source code history was retained for analysis.
TFS to git: https://github.com/git-tfs/git-tfs
Regards Tobi
- Page :
- 1
However, you are not allowed to reply to this question.