Fix bug in mecurial name