How to view commit messages?

Raphaël Gomès raphael.gomes at octobus.net
Tue Jun 30 12:44:42 UTC 2020


I use `hg export` to view commit messages.

On 6/30/20 2:40 PM, 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
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200630/b6f597b5/attachment-0002.html>


More information about the Mercurial mailing list