Copy the auto completion for mercurial