Archive for the ‘hg’ tag
Importing a svn sub-module as a hg repository
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
Why I like bzr over git and hg
Recently I posted in Twitter that my favorite DVCS is bzr. Immediately Manish asked me why not git or hg. Here is the answer:
git
I love GitHub. I use git regularly. But when compared to bzr, I love bzr more. Why? I find git’s SHA based version numbering cryptic. The default installation of git does not support command shortcuts (like st for status, ci for commit) which I am used to from my svn days (fact: this can be manually set using git alias).
hg
This choice does not have any rational backing! I did not like odd-sounding hg in the command prompt. bzr sounded more natural to me.