Forrest logo
back to the hg tool

hg-status:tldr:9d107

hg-status: Display changes in the working directory compared to a specified changeset.
$ hg status --rev ${revision}
try on your machine

The command "hg status --rev ${revision}" is a Mercurial command used to view the status of files in a specific revision.

Here's a breakdown of each component:

  • "hg status" is the command used to display the status of files in a repository. It shows whether files have been added, modified, deleted, etc.

  • "--rev ${revision}" is an option that specifies the revision or changeset for which you want to view the status of files. Here, "${revision}" is a placeholder for a specific revision number or identifier. You would need to replace it with the actual revision number or identifier you want to check.

Overall, this command will provide you with the status of files (such as modified, added, or deleted) in the specified revision of your Mercurial repository.

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.
back to the hg tool