Remove unnecessary mercurial imports.