On 4/14/14, 8:31 AM, Boris Zbarsky wrote:
On 4/14/14 5:13 AM, Aryeh Gregor wrote:
 But doesn't Mercurial hide all but the first line by
default in the places you'd normally look for it (e.g., log)?

The normal place I'd look for the detailed message is something like
https://hg.mozilla.org/mozilla-central/rev/NNNNNNNN, which shows the
full commit message.

Simple solution:

$ hg log -v

More advanced solution:

If the default output of `hg log` doesn't meet your fancy, it is fully customizable!

You can modify the "[ui] style" config option to define a custom "style file" to use. The style file holds a bunch of named templates that are used by various Mercurial commands. The default one is at [1] and should be installed as a "map-cmdline.default" file in your Mercurial install. If you want to display all lines of the commit message by default, copy that file and modify the "changeset" entry so "{desc|firstline}" is "{desc}" and update ui.style to reference the new file.

[1] http://selenic.com/repo/hg/file/76f68595ff8e/mercurial/templates/map-cmdline.default

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to