hg-status

displays the state of files in the working directory

TLDR

Show all changed files
$ hg status
Show only modified files
$ hg status -m
Show only added files
$ hg status -a
Show untracked files
$ hg status -u
Show changes in specific revision
$ hg status --change [rev]
Show clean files
$ hg status -c

SYNOPSIS

hg status [options] [file...]

DESCRIPTION

hg status displays the state of files in the working directory. Status codes: M (modified), A (added), R (removed), C (clean), ! (missing), ? (untracked), I (ignored). Use hg diff to see actual content changes.

PARAMETERS

-m, --modified

Show only modified files.
-a, --added
Show only added files.
-r, --removed
Show only removed files.
-d, --deleted
Show only deleted (missing) files.
-c, --clean
Show only clean (unchanged) files.
-u, --unknown
Show only untracked files.
--change rev
Show changes in revision.

INSTALL

sudo apt install mercurial
sudo dnf install mercurial
sudo pacman -S mercurial
sudo apk add mercurial
sudo zypper install mercurial
brew install mercurial
nix profile install nixpkgs#mercurial

SEE ALSO

hg(1), hg-commit(1)