从Mercurial转换为Subversion [英] Converting from Mercurial to Subversion

查看:67
本文介绍了从Mercurial转换为Subversion的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于在某些工具中缺乏Mercurial支持,并且管理层受到压迫,因此有必要将多个试用的Mercurial存储库转换为Subversion,以符合公司标准.

Due to lack of Mercurial support in several tools, and managerial oppression it has become necessary to convert several trial Mercurial repositories to Subversion in order to conform with the company standard.

是否有任何工具或建议来实现此目的而又不丢失修订历史记录等?

Are there any tools or suggestions for how to achieve this without a loss of revision history and the like?

推荐答案

Mercurial附带的转换扩展名可以将mercurial用作src,将subversion用作dest.

The convert extension that ships with mercurial can use mercurial as a src and subversion as a dest.

hg convert --dest-type svn hgreponame svnreponame

确保在您的.hgrc文件中启用它.

Make sure to enable it in your .hgrc file.

如果您想继续狡猾地使用水银,那么 hgsubversion 将允许您进行双向同步.

If you want to keep using mercurial on the sly, then hgsubversion will allow you to do bidirectional sync.

这篇关于从Mercurial转换为Subversion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆