Example of hg convert on Ubuntu
Converting a Subversion repository to a Mercurial repository is very easy. Here's an example that uses hg convert to convert a SVN repository (django-tagging) to Mecurial on Ubuntu. I'm using Mercurial 1.3 on Ubuntu 9.04.
- Install Subversion Python bindings. (This should solve the "Subversion python bindings could not be loaded" error)
sudo apt-get install python-subversion
- Enable the "convert" extension. Add the following to your
~/.hgrc
file:[extensions] hgext.convert =
- Convert:
hg convert http://django-tagging.googlecode.com/svn/trunk/ django-tagging-hg
- Update:
cd django-tagging-hg hg update