![Forrest logo](/images/logo.png)
hg-log:tldr:fad39
hg-log: Display the log information for a specific revision.
$ hg log --rev ${revision}
try on your machine
This command is used in Mercurial to retrieve the change history or log of a specific revision.
Here's how it works:
"hg log" is the basic command to access the change history or log of a Mercurial repository. It displays a list of changesets (revisions) that have been committed.
"--rev" is an option used to specify the revision(s) you want to retrieve. In this case, "${revision}" is a placeholder that should be replaced with the actual revision number or identifier you are interested in. It can be a revision number, a revision hash, or a tag.
When you run the command, it will display the log information for the specified revision, including the commit message, author, date, and any other relevant details.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.