Trying to Get Svn2Git Working on Windows

Trying to get svn2git working on Windows

Obviously, rubygems.rb is missing. Install it as documented here:

https://rubygems.org/pages/download

Then, install svn2git as instructed here:

https://github.com/nirvdrum/svn2git

After that, everything shall be fine.

git-svn on Windows. Where to get binaries?

This earlier version has working git-svn. I thought that git-svn in the current version that you installed was fixed, but maybe not. Git-svn definitely did not work in the windows version of Git 1.5.6.1.

How do I fix the issue that causes svn2git to fail with no associated commit metadata?

There are plenty tools called svn2git, but from your question I see you are not using the KDE one from https://github.com/svn-all-fast-export/svn2git. I strongly recommend using that svn2git tool. It is the best I know available out there and it is very flexible in what you can do with its rules files.

You will easily be able to configure it for your layout to get the result you want and expect.

If you are not 100% about the history of your repository, svneverever from http://blog.hartwork.org/?p=763 is a great tool to investigate the history of a SVN repository when migrating it to Git.

svn2git hangs and outputs nothing

There are pleny tools called svn2git, the probably best one is the KDE one from https://github.com/svn-all-fast-export/svn2git. I strongly recommend using that svn2git tool. It is the best I know available out there and it is very flexible in what you can do with its rules files.

From your question I see you are not using the one I mentioned.

If you are not 100% about the history of your repository, svneverever from http://blog.hartwork.org/?p=763 is a great tool to investigate the history of an SVN repository when migrating it to Git.

SVN to Git migration in windows using git svn clone

I did the following.


git svn init https://mydomain/svn/Project/Module Module_Git -T trunk -b branches --no-minimize-url

updated .git/config and added the following:

branches = {release}:refs/remotes/*

git svn fetch

svn2git cryptic error

Running svnserve with -d -r can be a solution:

http://blog.dbtracer.org/2010/01/20/porting-subversion-git-with-error/

migration from svn to git 2.9.2 on windows

For a one-way import, you can try subgit import

SubGit has a free offer for import, and it generally is more complete than git svn.



Related Topics



Leave a reply



Submit