hg log like git log

Uwe Brauer oub at mat.ucm.es
Mon Oct 19 10:49:20 UTC 2015


   > On Mon, Oct 19, 2015 at 9:44 AM, Uwe Brauer <oub at mat.ucm.es> wrote:
   ic.com> 

   > Are you sure that git is displaying the contents of the ChangeLog
   > file? I can't see any mention of that at
   > http://git-scm.com/docs/pretty-formats.

You are right is seems to be a Emacs thing. I just repeated a commit for
git from the command line then
git log
does not show the the relevant changelog entry, but only the commit mesg.

However when I use emacs for the job (editing the ChangeLog and
commiting) both messages are displayed.


Sorry for the confusion. I have to dig into that further.

   > I would guess that people are
   > simply putting the same text in the commit message that they put in
   > the ChangeLog file, and git is displaying the commit message (the same
   > as the mercurial "{desc}" template keyword).

   > Simon



More information about the Mercurial mailing list