我正在尝试将项目从svn迁移到mercurial。我在ubuntu上。在我的/ etc / mercurial / hgrc中,我添加了以下行
[extensions]
hgext.convert =
基本上我遵循以下教程:
https://confluence.atlassian.com/display/BITBUCKET/Convert+from+Subversion+to+Mercurial
在执行hg转换my-svn-local-repo my-local-mercurial-repoforsvn之后,hg转换了svn项目(或者看起来似乎如此)。但是当我浏览my-local-mercurial-repoforsvn时,只有一个.hg文件夹而没有别的。 根据教程,应该有my-local-mercurial-repoforsvn中的整个项目。
我错过了什么?救命啊!
答案 0 :(得分:2)
根据教程,应该有my-local-mercurial-repoforsvn中的整个项目。
它就在这里,但仅在存储库(。hg subdir)中 - hg convert
不会自动更新(并且永不更新)工作目录。如果要获取工作目录中的来源,您必须在其中运行hg up