How can I specify a multiline commit message for mercurial on the command line?
hg commit -m \"* add foo\\n* fix bar\"
does not work. The log
Here's another way that is more close to what you tried at first:
hg commit -m "$(echo -e 'foo\nbar')"