Specify repository directory explicitly for hg too.