Reputation: 11
So I need to migrate with history RTC to Git using the rtc2git "Getting your History Files" page.
However, I am not able to see the option how to do the below steps:
- Select all Entries and press "Copy URL" in the context menu
- Copy the links in a editor of your choice and remove everything except the uuid (marked green) of the changeset (use search and replace)
- Save file as History_YourComponentname_YourStreamName.txt and place it in the folder called "History"
- Repeat process for each component of your stream
Can someone confirm if there are able to migrate rtc code along with history to git using this process?
Upvotes: 1
Views: 987
Reputation: 1328192
I followed a similar process, without using rtc2git, by:
The import itself is done with
cd /path/tonew/Git/repo
git --work-tree=/path/to/RTC/repo/workspace add .
git commit -m "Import RTC baseline xxx"
git tag -m "Import RTC baseline xxx" xxx
git push --follow-tags
The idea is to import only a few selected baselines I deem important, in order to get a shallow history in Git of the former RTC codebase.
RTC itself remains in read-only mode if one need to consult a detailed history in the past.
Upvotes: 0