Hi Taapas, thanks for taking time and preparing this patch. This patch contains unrelated whitespace changes, can you undo them.
There is not much left to do in this patch but still I will be happy to mentor you on this if required. I am pulkit25 on #mercurial on IRC. Feel free to ping me if you need any help.