将 Mercurial (hg) 存储库转换为 Subversion (svn)
我需要将现有的 Mercurial 存储库转换为 Subversion,我尝试使用以下命令:
hg convert --dest-type svn mercurialpath subversionpath
我从以下主题中获取:
问题是,启动此命令后,转换开始和结束显然成功但我只在 PWD 中得到一个“工作副本”目录,在 subversionpath 中得到一个包含半空文件和目录为“db”、“lock”等的文件夹... 我不知道如何解决这个问题。谢谢
I need to convert an existing Mercurial repository to Subversion, I tried with the following command:
hg convert --dest-type svn mercurialpath subversionpath
That I took from the following topics:
Converting mercurial repository to svn repository
Migrating from Mercurial to Subversion
The problem is that after launching this command the conversion starts and ends apparently successfully but I only get a "working copy" directory in the PWD and in the subversionpath a folder with semi-empty files and directory as "db", "lock", etc...
I don't have an idea of how I can solve this problem. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这听起来像是对 Subversion 存储库的描述。您不会在那里看到任何可读格式的源文件。每个修订版都保存在 dev/revs 文件夹下的目录结构中的一个文件中,但采用二进制 diff 格式。
That sounds like a description of the Subversion repository. You won't see your source files in there in any readable format. Each revision is kept in a file in the directory structure under the dev/revs folder but in a binary diff format.