indiWiz.com

Subhash's Tech Log

Importing a svn sub-module as a hg repository

without comments

Today I converted the WizTools.org commons-lib project from the mini-projects site to a separate project. This involved the migration from the svn repository to a hg one. The sequence of steps I did:

$ sudo apt-get install hgsvn
$ hgimportsvn http://wiztools.googlecode.com/svn/commons-lib/trunk wiztools-commons-lib
$ cd wiztools-commons-lib
$ hgpullsvn
# Edit .hgignore and commit it
$ cd ..
$ hg clone wiztools-commons-lib wiztools-commons-lib-remote
$ cd wiztools-commons-lib-remote
$ hg push https://wiztools-commons-lib.googlecode.com/hg

Written by Subhash Chandran

January 3rd, 2010 at 11:48 pm

Posted in Uncategorized

Tagged with , , ,

Leave a Reply