Add snippet for mercurial