Short answer: there is no equivalent to git commit --verbose in mercury, but it can be hacked.
The edit text is hardcoded to mercurial source , so no plugin or configuration can directly change it.
The best you can do is hack the ui.editor setting in hgrc to directly add text to the editor. I created a hg-commit-editor script:
#!/bin/sh echo "HG: " >> $1 hg diff | sed -e 's|^|HG: |' >> $1 editor $1
and then install it as my commit editor in my hgrc:
[ui] editor = hg-commit-editor
This adds the output of “hg diff” to the end of the edit text file, adding each line with “HG:”, so it is not included as part of the commit message.
source share