如何将svn repo导入mercurial repo?

tsh*_*ang 5 svn mercurial

我正在使用转换扩展,所以我不确定它是否是正确的工具,因为:

hg convert svn://svn blah
Run Code Online (Sandbox Code Playgroud)

得到:

svn://blah does not look like a Subversion repository
Run Code Online (Sandbox Code Playgroud)

假设我的repo没有匿名访问权限,我该怎么做?

Ry4*_*ase 3

您需要使用Subversion 存储库的 URL,或者更好的是使用svnsynchttp将整个内容带到本地并使用URL。以下是更多详细信息:file

https://www.mercurial-scm.org/wiki/ConvertExtension#More_about_Subversion_URL_and_Paths_Handling