You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My SVN repo has the following root layout (it's a legacy project I have to work on it):
-----------------------
Project
... (a lot of docs subfolders here)
System
... (the trunk code here)
tags
... (the tags here)
-----------------------
I used the following command to convert it to Git:
svn2git file:///svn.example.com/path/to/repo --trunk System --branches Project --tags tags
When the conversion starts at the "Project" folder, it suddenly stops with the following error message:
********************************************************************
svn2git warning: Tracking remote SVN branches is deprecated.
In a future release local branches will be created without tracking.
If you must resync your branches, run: svn2git --rebase
********************************************************************
command failed:
By the way, do you know what I'm doing wrong?
Thanks in advance for your reply.
Best regards,
Everton
The text was updated successfully, but these errors were encountered:
It's a newer version of Git conflicting with this tool. This tool hasn't been updated in many years. To get around it I was able to do:
git branch "<branch-name>" "remotes/svn/<branch-name>"
followed by svn2git --rebase
I did that over and over until all the branches were fixed. Likewise, if you named your main branch 'main' instead of 'master' you will have to rename your main branch to master.
Hi, @nirvdrum.
My SVN repo has the following root layout (it's a legacy project I have to work on it):
I used the following command to convert it to Git:
svn2git file:///svn.example.com/path/to/repo --trunk System --branches Project --tags tags
When the conversion starts at the "Project" folder, it suddenly stops with the following error message:
By the way, do you know what I'm doing wrong?
Thanks in advance for your reply.
Best regards,
Everton
The text was updated successfully, but these errors were encountered: