将CV转换为mercurial
我正在尝试将CVS存储库转换为mercurial,但无法使其工作 我从一个干净的结账台开始:将CV转换为mercurial,mercurial,cvs,Mercurial,Cvs,我正在尝试将CVS存储库转换为mercurial,但无法使其工作 我从一个干净的结账台开始: cvs -d :sspi;username=xxx;hostname=yyy.local:/cvsrepos checkout repo 哪个很好 然后我会: hg convert . 但它在以下方面失败了: assuming destination .-hg initializing destination .-hg repository connecting to :sspi;username=
cvs -d :sspi;username=xxx;hostname=yyy.local:/cvsrepos checkout repo
哪个很好
然后我会:
hg convert .
但它在以下方面失败了:
assuming destination .-hg
initializing destination .-hg repository
connecting to :sspi;username=xxx;hostname=yyy.local:/cvsrepos
abort: unexpected response from CVS server (expected "Valid-requests", but got 'E cvs [server aborted]: Root :sspi;username=xxx;hostname=yyy.local:/cvsrepos must be an absolute pathname\n')
我在Windows7上运行cvsnt
编辑:对此进行了进一步的研究,mercurial似乎启动了一个本地服务器
cvs服务器
,然后与该实例通信,而不是与远程服务器通信
我基于以下观察结果:
C:\cvstest \:sspi;用户名=xxx;hostname=yyy.local:\cvsrepos
当然会失败cvs -d :local:\localcopyofrepo checkout repo
hg convert repo
一切正常看起来您正在使用。您是否可以尝试从父文件夹中转换
hg
并指定文件夹名,而不是
,然后查看它是否有效?看起来错误消息告诉您使用存储库的绝对路径名,请尝试使用
hg convert <full_path_including_drive>
是的,我正在使用ConvertExtension(“hgext.convert=“in.hgrc”)。指定源文件夹和/或目标文件夹没有区别。这就是我在回答中试图说的,您可以将其标记为已回答,也可以添加您自己的答案并将其标记为已回答。
hg convert -s cvs C:\sandbox\cvsrepos