开发者

Converting mercurial repository to svn repository

开发者 https://www.devze.com 2022-12-26 02:24 出处:网络
I know you can convert svn repository to mercurial repository (or use mercurial as a client to svn repo)

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.

We have some tool that uses 开发者_Go百科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?)


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

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

hg convert --dest-type svn mercurialpath subversionpath

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


Perhaps Tailor can help?

Another question suggests Mercurial's ConvertExtension. I thought that was strictly for importing to Mercurial, but apparently not.

0

精彩评论

暂无评论...
验证码 换一张
取 消