mercurial: fix caveats.

Closes #25643.