同步SVN和Merurial回购 [英] Sync svn and mercurial repo
问题描述
我们有一个活动的svn信息库,我们正在计划迁移到mercurial.这个想法是创建一个新的Mercury存储库,将svn repo与历史记录同步,为其创建一个团队城市,然后将两个开发人员转移到Mercurial上只是为了对其进行试用并确保其完全符合要求.
We have an active svn repository and we are planning a migration to mercurial. The idea is to create a new mercurial repo, sync the svn repo with it with history, create a teamcity build for it and move two developers onto mercurial solely to trial it out and make sure its all kosher.
这意味着我们需要svn和mercurial之间的双向同步.我已经看到此链接使用svnsync&将SVN同步到Mercurial ; hg convert-错过了svn:externals?,虽然描述了一种方法,但它相当笨拙且手动.
This means we need bi-directional sync between svn and mercurial. I have seen this link Syncing SVN to Mercurial using svnsync & hg convert -- misses svn:externals? which sort of describes a way but it is fairly clunky and manual.
有没有更好的方法来实现这一目标?
Is there a better way to achieve this?
感谢阅读
推荐答案
I suggest you try to use only the HgSubversion plugin for Mercurial.
Mercurial Wiki 中有相关参考.
此过程很简单,安装插件,然后使用Mercurial从Subversion克隆.之后,您可以使用HG命令在SVN信息库之间进行同步.
The process is simple, install the plugin, then use Mercurial to clone from Subversion. After that, you can use HG commands to synchronize from/to the SVN repository.
这篇关于同步SVN和Merurial回购的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!