SVN和GIT仓库都设置在同一台服务器上。当我们尝试运行脚本时,我们得到了以下错误消息。
[root@abcd ~]# ./svn2git.pl /home/svntree/testrepo /home/repositories/testrepo.git
fatal: ambiguous argument 'HEAD^..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Invalid GIT commit revision:我们使用SVN版本1.1.4和GIT版本1.7.2.2进行测试。
发布于 2012-05-12 19:36:13
我建议您使用SubGit进行转换,因为它执行更精确的转换保留,忽略和EOL概念,并支持Git<->SVN动态同步。
https://stackoverflow.com/questions/9919930
复制相似问题