2011-02-16 51 views
3

我要将git存储库迁移到新的svn存储库中。 我遵循这个步骤:http://sandrotosi.blogspot.com/2010/02/migrate-git-repo-to-svn-one.htmlgit svn dcommit无法正常工作

的问题是,当我运行命令

git svn dcommit 

的错误信息是:

digger$ git svn dcommit 
Committing to http://repository_url_path/trunk ... 
A .gitmodules 
A vendor/rails 
6ce13429cbc1359d85e1dc99c84561840e89d455 doesn't exist in the repository at /opt/local/libexec/git-core/git-svn line 4277 
Failed to read object 6ce13429cbc1359d85e1dc99c84561840e89d455 at /opt/local/libexec/git-core/git-svn line 558 

如何can'i解决?

谢谢!

+1

听起来像是你的混帐回购协议是不完整?或者,也许你正在使用子模块或类似的东西? 'git show 6ce13429cbc1359d85e1dc99c84561840e89d455'是什么意思? –

+1

你应该用'git fsck'来检查你的回购。 – Rudi

+0

你运行的是哪个版本的git?行号甚至不能与我的版本(1.7.4)匹配... – kusma

回答