mercurial: remove head support

Closes #26822.
mercurial: vendor docutils

Install docs without requiring a global docutils