Sync svn and mercurial repo

笑着哭i 提交于 2019-12-25 06:07:42

问题


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.

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?

Thanks for reading


回答1:


I suggest you try to use only the HgSubversion plugin for Mercurial.

There is a reference for it in the Mercurial wiki.

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.



来源:https://stackoverflow.com/questions/42326455/sync-svn-and-mercurial-repo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!