I\'m looking for a tool to migrate a couple of SVN repositories to Mercurial, with history, labels and so on.
I\'m using TortoiseHg (Windows x32), so ConvertExtensio
Using the convert extension of Mercurial:
convert= to the [extensions] section of .hgrc like this:
[extensions]
convert=
sudo apt-get install python-subversionhg convert command
hg convert -h for helphg convert http://[svnserver]/[Project] --source-type svn [DestinationDir] (see note 2)hg push https://[mercurialserver]/[Project]note: you can even repeat the hg convert command to include new changes made in the svn repository after the previous convert.
note 2: When hg convert doesn't work using http:// or svn:// you could first checkout the Subversion repository (or update an existing one) and convert using the local checkout; example: hg convert [DirectoryOfLocalCheckout] --source-type svn [DestinationDir]