Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting from Mercurial to Subversion

Tags:

Due to lack of Mercurial support in several tools, and managerial oppression it has become necessary to convert several trial Mercurial repositories to Subversion in order to conform with the company standard.

Are there any tools or suggestions for how to achieve this without a loss of revision history and the like?

like image 789
Matt Joiner Avatar asked Dec 14 '09 04:12

Matt Joiner


1 Answers

The convert extension that ships with mercurial can use mercurial as a src and subversion as a dest.

hg convert --dest-type svn hgreponame svnreponame 

Make sure to enable it in your .hgrc file.

If you want to keep using mercurial on the sly, then hgsubversion will allow you to do bidirectional sync.

like image 91
Ry4an Brase Avatar answered Nov 11 '22 05:11

Ry4an Brase