How to view commit messages?

Chris Green cl at isbd.net
Tue Jun 30 13:48:09 UTC 2020


On Tue, Jun 30, 2020 at 02:40:20PM +0200, Georges Racinet wrote:
> On 6/30/20 2:29 PM, Chris Green wrote:
> > This is silly, I'm sure it must be trivial to do, but I can't see how
> > to view commit messages. 
> 
> I took me a while to learn about it myself!
> 
> Use hg log -v
> 
> The verbosity is about the message itself :-)
> 
> >  In particular I want to see the last commit
> > message for a specified file.
> >
> So… hg log -v -l 1 path/to/the/file should do the trick
> 
Thank you Georges, I'd got as far as 'hg log' but hadn't added the -v.

-- 
Chris Green



More information about the Mercurial mailing list