views:

109

answers:

2

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 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?)

+1  A: 

Perhaps Tailor can help?

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

Frank Shearar
+1  A: 

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.

Ry4an