我正在尝试将svn存储库导入到Windows 7上的git中。我安装了Ruby/Gems/svn2git,但当我运行以下命令时:
svn2git http://svn.server/path我得到以下错误:
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)我不知道这个错误是什么意思。据我所知,所有文件都在正确的位置,并且将存储库复制到我的本地系统不起作用。任何帮助都是非常感谢的。谢谢!
编辑:我的SVN存储库具有默认的主干/分支结构。
发布于 2012-04-05 03:30:48
Svn2Git documentation声明这取决于git-core (在windows中是msysgit)和git-svn,因为这个错误与"git svn“命令有关,我猜你必须安装它并使其在你的路径中可用。
查看this other StackOverflow question了解如何安装git-core和git-svn。
https://stackoverflow.com/questions/5199119
复制相似问题