Mercurial: multiline commit message on command line?
Press Enter.
$ hg commit -m "Did some work > Now I'm done"
One of the things is that in hg log only the first line is displayed:
$ hg log changeset: 0:d2dc019450a2 tag: tip user: Aaron Maenpaa <zacherates@gmail.com> date: Sat Jan 24 07:46:23 2009 -0500 summary: Did some work
... but if you run "hg view", you will see that the whole message is there.
Edited to add:
... but hg -v log shows the whole message:
$ hg -v log changeset: 0:d2dc019450a2 tag: tip user: Aaron Maenpaa <zacherates@gmail.com> date: Sat Jan 24 07:46:23 2009 -0500 files: work description: Did some work Now I'm done
Aaron Maenpaa Jan 24 '09 at 12:45 2009-01-24 12:45
source share