Ian Lewis Ian Lewis is a web developer living in Tokyo Japan. His current interests are in Django, python, alternative databases and rapid web application development.
About Me...

How to Hide Inactive Branches by Default with Mercurial

mercurial usually shows inactive branches when running "hg branches" but that's kind of annoying if you have lots of old inactive branches. So I recently set up my personal .hgrc to hide inactive branches by creating an alias. [alias] branches = branches -a Normally you get this kind of output. ian@laptop:~/src/prj$ hg branches default 166[...]

Importing an svn repository into mercurial

Recently I've been forking svn repositories by converting them to mercurial repositories and uploading them to bitbucket. It's fairly easy with the mercurial convert extension. Convert is distributed with mercurial so if you have a recent version all you should have to do is put the following in your hgrc. [extensions] hgext.convert= Converting a repository over http by ru[...]

Using Mercurial MQ

I recently started using mercurial's mq extension at work as I found myself switching between changes a lot. I often had to set changes I was currently working on aside to do a merge or fix something that was more urgent. The mq extension makes that possible by managing patches and allowing you to put away changes into the patch queue. mq is included in mercurial's distribution by default bu[...]

hg email and gmail

I just set up my e-mail settings with Mercurial so that I can e-mail patches via my Gmail account. I have Debian installed on my machine which has exim installed by default so it was pretty easy to set up. I'm not terribly versed at setting up mailing agents so I basically followed these instructions on the Debian Wiki. After getting that set up it's easy to set up Mercurial to use exim4 sinc[...]