How to view commit messages?
Georges Racinet
georges.racinet at octobus.net
Tue Jun 30 12:40:20 UTC 2020
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
--
Georges Racinet
https://octobus.net, https://about.heptapod.host, https://heptapod.net
GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200630/fe9a17ca/attachment.asc>
More information about the Mercurial
mailing list