Migrating from Mercurial to Subversion [duplicate]
Asked Answered
C

2

5

Possible Duplicate:
Converting from Mercurial to Subversion

Hi.

Does anyone know of a relatively painless way to migrate a Mercurial repo to a fresh Subversion repo?

Thank you.

Corpulence answered 21/1, 2010 at 0:57 Comment(3)
Of course, the snarky unhelpful question is "Why would you want to?". Unfortunately, I don't have a really good answer as Subversion has a really different notion of branch than Mercurial does.Movable
I want to use some of Subversion's IDE integration powers with RubyMine, that Mercurial and Git don't support. I'd prefer Git, but the IDE integration is ultimately more useful to me.Corpulence
Curious indeed.. usually people are moving in the opposite direction.Absence
G
7

You may want to use the Convert Extension.

hg convert --dest-type svn mercurial_repo_name svn_repo_name

This extension is distributed with Mercurial and understands CVS, Subversion, Git, Darcs, Monotone, Bazaar, GNU Arch, Perforce and Mercurial as source formats and Mercurial and Subversion as destination formats.

Gorged answered 21/1, 2010 at 1:5 Comment(3)
I tried running this at the command line and Mercurial doesn't recognize the command... hmmm...Corpulence
@Alex: Did you enable the extension?Kipper
Yes, make sure it is enabled in your .hgrc file.Gorged
A
2

Use hgsubversion?

Aneurysm answered 21/1, 2010 at 2:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.