Fix hg command.