Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVN history is not captured #66

Open
smartarix opened this issue May 12, 2020 · 6 comments
Open

SVN history is not captured #66

smartarix opened this issue May 12, 2020 · 6 comments

Comments

@smartarix
Copy link

Hi ,
My project is not native RTC project, I migrated it in RTC from SVN.
Now I'm migrating my RTC projecct to bitbucket using this tool. This tool did the migration but didn't captured the svn history.
Is there any way I can capture svn history ?

@WtfJoke
Copy link
Member

WtfJoke commented May 12, 2020

Hi @smartarix

This is a known "limitation". With rtc2git(cli) there is no way to capture the svn history.
However if you are still in possession of the svn repos, you can use svn2git to migrate the svn part to git and from there continue to migrate the rtc part onto this repository using rtc2git(cli)

@smartarix
Copy link
Author

smartarix commented May 13, 2020

Thanks @WtfJoke for your reply.
My SVN repo don't exist anymore. Can you suggest path forward in this?
How svn migrated changeset is different than native RTC changeset, is there any code modification we can do in rtctogitCli code?
Also is there any way we can fetch and migrate only SVN history from RTC ?

@WtfJoke
Copy link
Member

WtfJoke commented May 17, 2020

I dont know if the changesets are any different, but the initial baseline is set by RTC after Code has been migrated from SVN. And the initial baseline is the starting point of rtc2git (and I also think rtc2gitcli). Therefore it will be migrated from there onwards and not before. You can try to create a baseline before the svn code... but im not really sure if its possible rtc wise.

I have no experience migrating svn/cvs already migrated to rtc out of rtc. Our company luckily still had the cvs repo available as backup. And we used cvs2git and afterwards rtc2git.

Keep us updated if you find a way.

@verhasi
Copy link

verhasi commented May 27, 2020

Hi @smartarix ,

Could you please tell me whether the commits/changesets originating from SVN are visible on the history web UI of RTC?

regards,
Istvan

@smartarix
Copy link
Author

Hi @verhasi ,
Yes SVN history is visible in RTC UI

@solzun
Copy link

solzun commented Mar 9, 2023

Hi @verhasi , Yes SVN history is visible in RTC UI

There is nothing special about SVN history in RTC, if you ran the SVN->RTC import correctly through Eclipse, each Subversion commit maps to a logical RTC changeset in the history.

Most likely you are not running with the right history configuration for your flow target in your workspace setup, and it's skipping the SVN-migrated-RTC changesets entirely. I did the same thing you did (had an RTC history established from SVN history) and it migrated to Git just fine. Once it's in RTC, it's not in any way "SVN history", they are logically mapped to changesets and are legit RTC changesets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants