作为将完整的 CVS 历史迁移到 Hg 的一部分,我使用 cvs2svn 在本地目录中创建了一个 SVN 存储库。它的一级目录结构是:
2010-04-21 09:39 AM <DIR> .
2010-04-21 09:39 AM <DIR> ..
2010-04-21 09:39 AM <DIR> locks
2010-04-21 09:39 AM <DIR> hooks
2010-04-21 09:39 AM <DIR> conf
2010-04-21 09:39 AM 229 README.txt
2010-04-21 11:45 AM <DIR> db
2010-04-21 09:39 AM 2 format
2 File(s) 231 bytes
在设置 hg 和转换扩展并尝试转换后,我在转换中得到以下信息:
C:\>hg convert file://localhost/Users/terry/Desktop/repoSVN
assuming destination repoSVN-hg
initializing destination repoSVN-hg repository
file://localhost/Users/terry/Desktop/repoSVN does not look like a CVS checkout
file://localhost/Users/terry/Desktop/repoSVN does not look like a Git repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a Subversion repo
file://localhost/Users/terry/Desktop/repoSVN is not a local Mercurial repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a darcs repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a monotone repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a GNU Arch repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a Bazaar repo
file://localhost/Users/terry/Desktop/repoSVN does not look like a P4 repo
abort: file://localhost/Users/terry/Desktop/repoSVN: missing or unsupported repository
我安装了 TortoiseHg。有关信息,hg 版本报告: Mercurial Distributed SCM (version 1.4.3) 如果相信安装中的 library.zip,这个版本的 Mercurial 似乎有一些 svn 绑定。
我是否需要进行结帐并将 hg convert 指向它才能正常工作?