将Subversion存储库转换为Mercurial

Pau*_*aul 2 svn migration mercurial hgrc

我正在尝试将SVN存储库转换为Mercurial,但我遇到了一些麻烦.这些是我采取的步骤:(我在Windows上)

在扩展中打开"转换"

打开命令窗口,然后键入:

hg convert http://myversioncontrorepositoryhere
Run Code Online (Sandbox Code Playgroud)

它说它正在初始化目标文件夹,然后询问:

Enter username for Administration at http://myversioncontrorepositoryhere:
Run Code Online (Sandbox Code Playgroud)

然后键入我的用户名

 in Administration at http://myversioncontrorepositoryhere:
Run Code Online (Sandbox Code Playgroud)

我认为这是我的密码,但它只是循环回来

Enter username for Administration at http://myversioncontrorepositoryhere:
Run Code Online (Sandbox Code Playgroud)

我究竟做错了什么?我非常确定我正确输入了我的用户名和密码.

Ale*_*lli 7

我不知道什么可能是想错了,但我想提出一个解决方法(这是我个人用于此任务的唯一途径!):第一svnsync的 svn的项目,使本地镜像,然后hg convert说本地镜像 - 这就是O'Sullivan在他的书中所建议的(这个URL,作为"书中的样本",正是从其他VCS导入项目到hg的相关附录 - 特别强调svn!),尽管他的建议主要受到速度考虑的启发我怀疑跟随它还能为我节省身份验证和授权麻烦,我希望它能为你做同样的事情! - )