将Merurial存储库转换为SVN存储库 [英] Converting mercurial repository to svn repository

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

问题描述

我知道您可以将svn储存库转换为mercurial储存库(或将mercurial用作svn repo的客户端) 但是我想要的是将Merurial存储库转换为svn存储库.

I know you can convert svn repository to mercurial repository (or use mercurial as a client to svn repo) but what I want is to convert mercurial repository to svn repository.

我们有一些使用SVNKit的工具,我们希望继续使用它,但是希望能够在Merurial存储库上工作.因此,我们希望将汞回购完全转换为svn回购. 那有可能吗? (以及如何?)

We have some tool that uses SVNKit, and we'd like to continue use it, but want to be able to work on mercurial repository. Hence we want to completely convert mercurial repo to svn repo. Is that something that's possible? (and how?)

推荐答案

考虑使用 hgsubversion 可以让您从Mercurial内部进行svn回购,这听起来像是您的真正目标.

Consider using hgsubversion which lets you work on a svn repo from within mercurial, which it sounds like is your real goal.

或者,您可以在mercurial中使用"convert"命令进行转换:

Alternately you can use the 'convert' command inside mercurial to do the convert:

hg convert --dest-type svn mercurialpath subversionpath

在convert中,您可以通过hg help convert找到一些会影响结果的选项.

where convert has some options you can find with hg help convert that will affect the outcome.

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

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