Error when trying to use svn2git on Windows

I am trying to import a svn repository into git on Windows 7. I have Ruby/Gems/svn2git installed, but when I run this command:

svn2git http://svn.server/path

I get the following error:

C:/Ruby192/lib/ruby/gems/1.9.1/gems/svn2git-2.0.0/lib/svn2git/migration.rb:226:i
n `popen': No such file or directory - git svn init --no-metadata --trunk=trunk
--tags=tags --branches=branches http://svn.server/path (Errno::ENO
ENT)

I don’t know what this error means. All files are in the correct place as far as I can tell, and copying the repository to my local system doesn’t work. Any help is appreciated. Thanks!

EDIT: My SVN repository has the default trunk/branch structure.

  • Is git stable on Windows?
  • Handling #include paths on different platforms
  • git log --grep does not work in windows
  • git post-receive hook to write files from bare repo to www folder msysgit (windows)
  • How to correctly clone --recursive git repository on Windows?
  • git stash is slow on windows
  • How do I install git-subtree with Cygwin in Windows 7?
  • .gitignore does not understand my folder wildcard on windows
  • One Solution collect form web for “Error when trying to use svn2git on Windows”

    Svn2Git documentation states that depends on git-core (msysgit in windows) and git-svn, since the error is related to the “git svn” command, i guess you’ll have to install it and make it available in your PATH.

    Check this other StackOverflow question on how to install both git-core and git-svn.

    Git Baby is a git and github fan, let's start git clone.