Add configuration for mercurial