Forrest logo
back to the hg tool

hg-status:tldr:da82f

hg-status: Display only removed files.
$ hg status --removed
try on your machine

The 'hg status --removed' command is used in the Mercurial version control system to display information about files that have been removed or deleted from the repository.

When you run this command, Mercurial will compare the current state of the repository with the last committed changeset and show a list of files that have been deleted or marked as removed since the last commit.

The output of the 'hg status --removed' command will typically include the following information about each removed file:

  • The modification status indicator (marked as '!' for removed files).
  • The name or path of the removed file.
  • The associated revision or changeset in which the file was removed.

This command is helpful for identifying files that have been deleted from the repository and understanding the changes made to a project over time.

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