如何解决导致svn2git失败并显示“无关联的提交元数据"的问题? [英] How do I fix the issue that causes svn2git to fail with "no associated commit metadata"?

查看:95
本文介绍了如何解决导致svn2git失败并显示“无关联的提交元数据"的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将本地Windows机器上的远程Subversion存储库转换为git.我安装了ruby,svn2git,然后创建了一个名为authors.txt的文件,用于转换关联的提交者.

I am attempting to convert a remote Subversion repository to git on my local Windows machine. I installed ruby, svn2git, and then created a file called authors.txt for converting the associated committers.

运行命令svn2git my://repo/url --authors authors.txt时,出现错误:

When I run the command svn2git my://repo/url --authors authors.txt, I get the error:

Checking svn:mergeinfo changes since r3: 1 sources, 1 changed
refs/remotes/svn/Production: no associated commit metadata

command failed: git svn fetch

我已经四处搜寻,但找不到任何直接适用于我的错误的情况.有人知道为什么会弹出此错误吗?

I have searched around and I was unable to find any situation that applied directly to my error. Anyone have a clue why this error would pop up?

推荐答案

有很多名为svn2git的工具,但是从您的问题中我看到您没有使用

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.

如果您不是100%的存储库历史记录,请从 http://blog.hartwork.org/?p=763 是将SVN储存库迁移到Git时研究其历史的绝佳工具.

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失败并显示“无关联的提交元数据"的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆